|
BeanIO 1.2.3 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.beanio.parser.StreamDefinition org.beanio.parser.delimited.DelimitedStreamDefinition
public class DelimitedStreamDefinition
A DelimitedStreamDefinition is used to parse and format streams that use a fixed length record format.
Field Summary |
---|
Fields inherited from class org.beanio.parser.StreamDefinition |
---|
READ_ONLY_MODE, READ_WRITE_MODE, WRITE_ONLY_MODE |
Constructor Summary | |
---|---|
|
DelimitedStreamDefinition()
Constructs a new DelimitedStreamDefinition. |
protected |
DelimitedStreamDefinition(String format)
Constructs a new DelimitedStreamDefinition. |
Method Summary | |
---|---|
protected RecordReader |
createDefaultReader(Reader in)
Creates a default RecordReader to read from the given input stream. |
protected RecordWriter |
createDefaultWriter(Writer out)
Creates a default RecordWriter for writing to the given output stream. |
protected Record |
createRecord()
Constructs a new Record for this stream to operate on. |
Methods inherited from class org.beanio.parser.StreamDefinition |
---|
createBeanReader, createBeanWriter, createRecord, createRecordReader, createRecordWriter, getFieldErrorMessage, getFieldLabel, getFormat, getLabel, getMode, getName, getRecordErrorMessage, getRecordLabel, getRootGroupDefinition, newGroupDefinition, newGroupNode, newRecordNode, setDefaultResourceBundle, setMaxOccurs, setMinOccurs, setMode, setName, setReaderFactory, setResourceBundle, setWriterFactory |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DelimitedStreamDefinition()
protected DelimitedStreamDefinition(String format)
format
- the stream formatMethod Detail |
---|
protected Record createRecord()
StreamDefinition
createRecord
in class StreamDefinition
protected RecordReader createDefaultReader(Reader in)
StreamDefinition
StreamDefinition.createRecordReader(Reader)
if no record
reader factory was configured.
createDefaultReader
in class StreamDefinition
in
- the input stream to read from
protected RecordWriter createDefaultWriter(Writer out)
StreamDefinition
StreamDefinition.createRecordWriter(Writer)
if no record
writer factory was configured.
createDefaultWriter
in class StreamDefinition
out
- the output stream to write to
|
BeanIO 1.2.3 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |