public interface LineNumberProvider
Modifier and Type | Method and Description |
---|---|
int |
getLineCount() |
int |
getLineEnd(int lineNumber)
Returns offset of the given line end
|
int |
getLineNumber(int offset)
Returns number of a line containing given offset
|
int getLineEnd(int lineNumber)
lineNumber
- -
number of line (one-based)int getLineCount()
int getLineNumber(int offset)
offset
- -
an offset to look forCopyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.