@Dataformat(value="bindy-fixed") public class BindyFixedLengthDataFormat extends BindyAbstractDataFormat
| Modifier and Type | Field and Description |
|---|---|
static String |
CAMEL_BINDY_FIXED_LENGTH_FOOTER |
static String |
CAMEL_BINDY_FIXED_LENGTH_HEADER |
| Constructor and Description |
|---|
BindyFixedLengthDataFormat() |
BindyFixedLengthDataFormat(Class<?> type) |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,Object> |
createModel(BindyFixedLengthFactory factory,
String line,
int count) |
protected BindyAbstractFactory |
createModelFactory(FormatFactory formatFactory) |
String |
getDataFormatName() |
void |
marshal(org.apache.camel.Exchange exchange,
Object body,
OutputStream outputStream) |
Object |
unmarshal(org.apache.camel.Exchange exchange,
InputStream inputStream) |
createLinkedFieldsModel, createLinkedFieldsModel, doStart, doStop, extractUnmarshalResult, getCamelContext, getClassType, getFactory, getLocale, isAllowEmptyStream, isUnwrapSingleInstance, setAllowEmptyStream, setCamelContext, setClassType, setLocale, setModelFactory, setUnwrapSingleInstancebuild, doBuild, doFail, doInit, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static final String CAMEL_BINDY_FIXED_LENGTH_HEADER
public static final String CAMEL_BINDY_FIXED_LENGTH_FOOTER
public BindyFixedLengthDataFormat()
public BindyFixedLengthDataFormat(Class<?> type)
public String getDataFormatName()
public void marshal(org.apache.camel.Exchange exchange,
Object body,
OutputStream outputStream)
throws Exception
Exceptionpublic Object unmarshal(org.apache.camel.Exchange exchange, InputStream inputStream) throws Exception
Exceptionprotected Map<String,Object> createModel(BindyFixedLengthFactory factory, String line, int count) throws Exception
Exceptionprotected BindyAbstractFactory createModelFactory(FormatFactory formatFactory) throws Exception
createModelFactory in class BindyAbstractDataFormatExceptionApache Camel