|
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.stream.fixedlength.FixedLengthWriterFactory
public class FixedLengthWriterFactory
This record writer factory is used to create and configure a FixedLengthWriter.
FixedLengthWriter
Constructor Summary | |
---|---|
FixedLengthWriterFactory()
|
Method Summary | |
---|---|
RecordWriter |
createWriter(Writer out)
Creates a new RecordWriter to write to an output stream. |
String |
getLineSeparator()
Deprecated. |
String |
getRecordTerminator()
Returns the text used to terminate a record. |
void |
setLineSeparator(String lineSeparator)
Deprecated. |
void |
setRecordTerminator(String recordTerminator)
Sets the text used to terminate a record. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FixedLengthWriterFactory()
Method Detail |
---|
public RecordWriter createWriter(Writer out)
RecordWriterFactory
createWriter
in interface RecordWriterFactory
out
- the output stream to write to
public String getRecordTerminator()
public void setRecordTerminator(String recordTerminator)
recordTerminator
- the record termination textpublic String getLineSeparator()
public void setLineSeparator(String lineSeparator)
lineSeparator
- the line separation text
|
BeanIO 1.2.3 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |