|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectflattree.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 Positionpublic int getColumnIndex()
Position
getColumnIndex in interface Positionpublic int getIndex()
Position
getIndex in interface Positionpublic void write(char character)
WriteLine
write in interface WriteLinecharacter - character to writepublic void flush()
WriteLineWriteLine.write(char) are allowed afterwards.
flush in interface WriteLinepublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||