|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.camel.dataformat.bindy.fixed.BindyFixedLengthDataFormat
public class BindyFixedLengthDataFormat
A data format (
DataFormat) using Bindy to marshal to and from Fixed Length
| Constructor Summary | |
|---|---|
BindyFixedLengthDataFormat()
|
|
BindyFixedLengthDataFormat(String... packages)
|
|
| Method Summary | |
|---|---|
BindyFixedLengthFactory |
getFactory(PackageScanClassResolver resolver)
Method used to create the singleton of the BindyCsvFactory |
String[] |
getPackages()
|
void |
marshal(Exchange exchange,
Object body,
OutputStream outputStream)
Marshals the object to the given Stream. |
void |
setModelFactory(BindyFixedLengthFactory modelFactory)
|
void |
setPackages(String[] packages)
|
Object |
unmarshal(Exchange exchange,
InputStream inputStream)
Unmarshals the given stream into an object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BindyFixedLengthDataFormat()
public BindyFixedLengthDataFormat(String... packages)
| Method Detail |
|---|
public void marshal(Exchange exchange,
Object body,
OutputStream outputStream)
throws Exception
DataFormat
marshal in interface DataFormatexchange - the current exchangebody - the object to be marshalledoutputStream - the output stream to write the marshalled result to
Exception - can be thrown
public Object unmarshal(Exchange exchange,
InputStream inputStream)
throws Exception
DataFormat
unmarshal in interface DataFormatexchange - the current exchangeinputStream - the input stream with the object to be unmarshalled
Exception - can be thrown
public BindyFixedLengthFactory getFactory(PackageScanClassResolver resolver)
throws Exception
Exceptionpublic void setModelFactory(BindyFixedLengthFactory modelFactory)
public String[] getPackages()
public void setPackages(String[] packages)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||