|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for systems that really like interfaces
SimpleWriter
Method Summary | |
void |
append(java.lang.Object[] fields)
Write a row to the CSV file |
void |
rawLine(java.lang.String line)
Append a string as a raw line, without any processing |
void |
setAutoFlush(boolean autoFlush)
Flush after each line? Default is false |
void |
setNewLine(char c)
Defaults to the system dependent newline |
void |
setNewLine(char[] c)
Defaults to the system dependent newline |
void |
setNewLine(java.lang.String newline)
Defaults to the system dependent newline |
void |
setSeperator(char seperator)
Specify the character to use to seperate fields, defaults to a comma |
Method Detail |
public void append(java.lang.Object[] fields) throws java.io.IOException
java.io.IOException
public void setSeperator(char seperator)
public void setAutoFlush(boolean autoFlush)
public void setNewLine(char c)
public void setNewLine(char[] c)
public void setNewLine(java.lang.String newline)
public void rawLine(java.lang.String line) throws java.io.IOException
Useful for comments, etc
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |