|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jsefa.common.lowlevel.InputPosition
public final class InputPosition
Encapsulates information about the current position within the input stream.
Constructor Summary | |
---|---|
InputPosition(int lineNumber,
int columnNumber)
Constructs a new InputPosition . |
Method Summary | |
---|---|
int |
getColumnNumber()
Returns the number of the current column within the current line within the input stream (beginning with 1). |
int |
getLineNumber()
Returns the number of the current line within the input stream (beginning with 1). |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public InputPosition(int lineNumber, int columnNumber)
InputPosition
.
lineNumber
- the line numbercolumnNumber
- the column numberMethod Detail |
---|
public int getLineNumber()
public int getColumnNumber()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |