Package org.apache.juneau.parser
Class Position
java.lang.Object
org.apache.juneau.parser.Position
Identifies a position in a reader or input stream.
 
See Also:
- 
Constructor Details- 
PositionConstructor.- Parameters:
- line- The current line number.
- column- The current column number.
 
- 
PositionConstructor.- Parameters:
- position- The current byte position.
 
 
- 
- 
Method Details- 
toString
- 
getLineReturns the current line.- Returns:
- The current line, or -1 if not specified.
 
- 
getColumnReturns the current column.- Returns:
- The current column, or -1 if not specified.
 
- 
getPositionReturns the current byte position.- Returns:
- The current byte position, or -1 if not specified.
 
 
-