|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectflattree.flat.read.DelimitedReadLine
public class DelimitedReadLine
A line delimited by one or more characters.
| Field Summary |
|---|
| Fields inherited from interface flattree.flat.ReadLine |
|---|
END |
| Constructor Summary | |
|---|---|
DelimitedReadLine(ReadLine line,
String delimiter)
Delimit the given line. |
|
| Method Summary | |
|---|---|
void |
drain()
Drain this line, i.e. |
void |
escape(boolean escape)
Shoulds the delimitation of this line be obeyed or escaped from. |
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 DelimitedReadLine(ReadLine line,
String delimiter)
line - line to delimitdelimiter - the delimiter which marks the delimit| 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 escape(boolean escape)
EscapableLine
escape in interface EscapableLinepublic char read()
ReadLine
read in interface ReadLineReadLine.ENDpublic void drain()
ReadLine
drain in interface ReadLine
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||