|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object flattree.flat.write.DelimitedWriteLine
public class DelimitedWriteLine
A line delimited by one or more characters.
Constructor Summary | |
---|---|
DelimitedWriteLine(WriteLine line,
String delimiter)
Delimit the given line. |
Method Summary | |
---|---|
void |
escape(boolean escape)
Shoulds the delimitation of this line be obeyed or escaped from. |
void |
flush()
Flush all contents. |
int |
getColumnIndex()
Get the current column index. |
int |
getIndex()
Get the index of the current character. |
int |
getRowIndex()
Get the current row index. |
void |
write(char character)
Write the next character. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DelimitedWriteLine(WriteLine line, String delimiter)
line
- line to delimitdelimiter
- the delimiter which marks the delimitMethod Detail |
---|
public void escape(boolean escape)
EscapableLine
escape
in interface EscapableLine
public int getIndex()
Position
getIndex
in interface Position
public int getRowIndex()
Position
getRowIndex
in interface Position
public int getColumnIndex()
Position
getColumnIndex
in interface Position
public void write(char character)
WriteLine
write
in interface WriteLine
character
- character to writepublic void flush()
WriteLine
WriteLine.write(char)
are allowed afterwards.
flush
in interface WriteLine
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |