|
BeanIO 1.2.3 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.beanio.stream.delimited.DelimitedWriterFactory
public class DelimitedWriterFactory
This record writer factory is used to create and configure a DelimitedWriter.
DelimitedWriter| Constructor Summary | |
|---|---|
DelimitedWriterFactory()
|
|
| Method Summary | |
|---|---|
RecordWriter |
createWriter(Writer out)
Creates a new RecordWriter to write to an output stream. |
char |
getDelimiter()
Returns the field delimiter. |
Character |
getEscape()
Returns the escape character. |
String |
getLineSeparator()
Deprecated. |
String |
getRecordTerminator()
Returns the text used to terminate a record. |
boolean |
isEscapeEnabled()
Returns whether escaping is enabled. |
void |
setDelimiter(char c)
Sets the field delimiter. |
void |
setEscape(Character c)
Sets the escape character. |
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 DelimitedWriterFactory()
| Method Detail |
|---|
public RecordWriter createWriter(Writer out)
RecordWriterFactory
createWriter in interface RecordWriterFactoryout - the output stream to write to
public void setDelimiter(char c)
c - the character used to delimit fieldspublic char getDelimiter()
public boolean isEscapeEnabled()
getEscape()public void setEscape(Character c)
c - the new escape characterpublic Character getEscape()
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 | ||||||||