|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object flattree.flat.write.StringWriteLine
public class StringWriteLine
A line wrapping a String
.
Constructor Summary | |
---|---|
StringWriteLine()
|
Method Summary | |
---|---|
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. |
String |
toString()
Get the written string. |
void |
write(char character)
Write the next character. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public StringWriteLine()
Method Detail |
---|
public int getRowIndex()
Position
getRowIndex
in interface Position
public int getColumnIndex()
Position
getColumnIndex
in interface Position
public int getIndex()
Position
getIndex
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
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |