- get
Retrieves a line of the text by its number. The returned line will not contain a
trailing terminator
- size
Counts the lines of the text.
- getFullText
Retrieve the full text of the file.
- <init>
Compatibility constructor.This constructor reconstructs the text of the file by
joining lines with l
- getFile
Get the name of the file.
- lineColumn
Determine line and column numbers in full text.
- toLinesArray
Returns an array of all lines. text.toLinesArray() is equivalent to
text.toArray(new String[text.siz
- findLineBreaks
Find positions of line breaks in the full text.
- getCharset
Get the character set which was used to read the file. Will be null for a file
reconstructed from it
- readFile
Reads file using specific decoder and returns all its content as a String.