|
BeanIO 2.0.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StreamFormat
A StreamFormat provides format specific extensions for a Stream
parser.
Implementations of this interface must be thread-safe.
Method Summary | |
---|---|
MarshallingContext |
createMarshallingContext(boolean streaming)
Creates a new marshalling context. |
RecordMarshaller |
createRecordMarshaller()
Creates a new record marshaller. |
RecordReader |
createRecordReader(Reader in)
Creates a new record reader. |
RecordUnmarshaller |
createRecordUnmarshaller()
Creates a new record unmarshaller. |
RecordWriter |
createRecordWriter(Writer out)
Creates a new record writer. |
UnmarshallingContext |
createUnmarshallingContext()
Creates a new ummarshalling context. |
String |
getName()
Returns the name of the stream. |
Method Detail |
---|
String getName()
UnmarshallingContext createUnmarshallingContext()
UnmarshallingContext
MarshallingContext createMarshallingContext(boolean streaming)
streaming
- true if marshalling to a stream
MarshallingContext
RecordMarshaller createRecordMarshaller()
RecordMarshaller
RecordUnmarshaller createRecordUnmarshaller()
RecordUnmarshaller
RecordReader createRecordReader(Reader in)
in
- the Reader
to read records from
RecordReader
RecordWriter createRecordWriter(Writer out)
out
- the Writer
to write records to
RecordWriter
|
BeanIO 2.0.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |