public interface TextStreamPosition
| Modifier and Type | Field and Description |
|---|---|
static int |
NO_POSITION |
| Modifier and Type | Method and Description |
|---|---|
int |
getColumn()
Returns 0-based column number within the line.
|
int |
getLine()
Returns 0-based line number within the stream/file.
|
int |
getOffset()
Returns 0-based offset from the beginning of the stream/file measured in Unicode characters.
|
static final int NO_POSITION
int getOffset()
NO_POSITION if value
is not availableint getLine()
NO_POSITION if value is not availableint getColumn()
NO_POSITION if value is not availableCopyright (c) IBM Corp. and others 2000, 2016. All Rights Reserved.