|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object flattree.flat.read.FixedLengthReadLine
public class FixedLengthReadLine
A line bounded by a fixed length.
Field Summary |
---|
Fields inherited from interface flattree.flat.ReadLine |
---|
END |
Constructor Summary | |
---|---|
FixedLengthReadLine(ReadLine line,
int length)
Bound the given line. |
Method Summary | |
---|---|
void |
drain()
Drain this line, i.e. |
int |
getColumnIndex()
Get the current column index. |
int |
getIndex()
Get the index of the current character. |
int |
getRowIndex()
Get the current row index. |
char |
read()
Read the next character. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FixedLengthReadLine(ReadLine line, int length)
line
- line to boundlength
- fixed length to bound line toMethod Detail |
---|
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 char read()
ReadLine
read
in interface ReadLine
ReadLine.END
public void drain()
ReadLine
drain
in interface ReadLine
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |