Class FixedLengthStreamFormat
- java.lang.Object
-
- org.beanio.internal.parser.StreamFormatSupport
-
- org.beanio.internal.parser.format.fixedlength.FixedLengthStreamFormat
-
- All Implemented Interfaces:
StreamFormat
public class FixedLengthStreamFormat extends StreamFormatSupport
AStreamFormatSupport
implementation for the fixed length stream format.- Since:
- 2.0
-
-
Constructor Summary
Constructors Constructor Description FixedLengthStreamFormat()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RecordReader
createDefaultReader(java.io.Reader in)
RecordWriter
createDefaultWriter(java.io.Writer out)
MarshallingContext
createMarshallingContext(boolean streaming)
Creates a new marshalling context.UnmarshallingContext
createUnmarshallingContext()
Creates a new ummarshalling context.-
Methods inherited from class org.beanio.internal.parser.StreamFormatSupport
createRecordMarshaller, createRecordReader, createRecordUnmarshaller, createRecordWriter, getName, getRecordParserFactory, setName, setRecordParserFactory
-
-
-
-
Method Detail
-
createUnmarshallingContext
public UnmarshallingContext createUnmarshallingContext()
Description copied from interface:StreamFormat
Creates a new ummarshalling context.- Returns:
- the new
UnmarshallingContext
-
createMarshallingContext
public MarshallingContext createMarshallingContext(boolean streaming)
Description copied from interface:StreamFormat
Creates a new marshalling context.- Parameters:
streaming
- true if marshalling to a stream- Returns:
- the new
MarshallingContext
-
createDefaultReader
public RecordReader createDefaultReader(java.io.Reader in)
-
createDefaultWriter
public RecordWriter createDefaultWriter(java.io.Writer out)
-
-