|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectflattree.flat.write.FixedLengthWriteLine
public class FixedLengthWriteLine
A line bounded by a fixed length.
| Constructor Summary | |
|---|---|
FixedLengthWriteLine(WriteLine line,
int length)
Bound the given line. |
|
| 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. |
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 FixedLengthWriteLine(WriteLine line,
int length)
line - line to boundlength - fixed length to bound line to| Method Detail |
|---|
public int getIndex()
Position
getIndex in interface Positionpublic int getRowIndex()
Position
getRowIndex in interface Positionpublic int getColumnIndex()
Position
getColumnIndex 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 WriteLine
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||