public class LineTokenizer extends LineTokenizerBase<java.lang.String>
Constructor and Description |
---|
LineTokenizer(java.lang.String text) |
Modifier and Type | Method and Description |
---|---|
protected void |
addLine(java.util.List<? super java.lang.String> lines,
int start,
int end,
boolean appendNewLine) |
protected char |
charAt(int index) |
static java.lang.String |
concatLines(java.lang.String [] lines) |
static java.lang.String |
correctLineSeparators(java.lang.String text) |
java.lang.String [] |
execute() |
protected int |
length() |
protected java.lang.String |
substring(int start,
int end) |
doExecute, getLineSeparator
public java.lang.String [] execute()
protected void addLine(java.util.List<? super java.lang.String> lines, int start, int end, boolean appendNewLine)
addLine
in class LineTokenizerBase<java.lang.String>
protected char charAt(int index)
charAt
in class LineTokenizerBase<java.lang.String>
protected int length()
length
in class LineTokenizerBase<java.lang.String>
protected java.lang.String substring(int start, int end)
substring
in class LineTokenizerBase<java.lang.String>
public static java.lang.String concatLines(java.lang.String [] lines)
public static java.lang.String correctLineSeparators(java.lang.String text)