public interface Position
The position returned depends on the specific implementation
| Modifier and Type | Method and Description |
|---|---|
int |
getLength()
get the length of the position returned by
getPosition(String, int) |
int |
getPosition(java.lang.String line,
int begin)
get a position in a line, not before begin or return -1
|
int getPosition(java.lang.String line,
int begin)
line - String, the line to find the position inbegin - int, the location to start fromint getLength()
getPosition(String, int)