protected static class CommonBreakIterator.LineDelimiter extends CommonBreakIterator.Run
length
Modifier | Constructor and Description |
---|---|
protected |
CommonBreakIterator.LineDelimiter() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
consume(char ch)
Returns
true if this run consumes ch , false otherwise. |
protected void |
init()
Resets this run to the initial state.
|
protected boolean |
isValid(char ch)
Whether this run accepts that character; does not update state.
|
protected void init()
CommonBreakIterator.Run
init
in class CommonBreakIterator.Run
protected boolean consume(char ch)
CommonBreakIterator.Run
true
if this run consumes ch
, false
otherwise. If
true
is returned, the length of the receiver is adjusted accordingly.consume
in class CommonBreakIterator.Run
ch
- the character to testtrue
if ch
was consumedprotected boolean isValid(char ch)
CommonBreakIterator.Run
consume
.isValid
in class CommonBreakIterator.Run
ch
- the character to testtrue
if ch
is accepted