public class RegexWordBreakIterator extends BreakIterator
Modifier and Type | Class and Description |
---|---|
static class |
RegexWordBreakIterator.WordPattern |
DONE
Constructor and Description |
---|
RegexWordBreakIterator()
Default Constructor for regular expression based word break iterator.
|
Modifier and Type | Method and Description |
---|---|
void |
addRegex(RegexWordBreakIterator.WordPattern wordPattern) |
void |
addRegex(String regex) |
int |
current() |
int |
first() |
int |
following(int offset) |
CharacterIterator |
getText() |
int |
last() |
int |
next() |
int |
next(int n) |
int |
previous() |
void |
setText(CharacterIterator text) |
void |
setText(String text) |
clone, getAvailableLocales, getCharacterInstance, getCharacterInstance, getLineInstance, getLineInstance, getSentenceInstance, getSentenceInstance, getWordInstance, getWordInstance, isBoundary, preceding
public RegexWordBreakIterator()
public int current()
current
in class BreakIterator
BreakIterator.current()
public int first()
first
in class BreakIterator
BreakIterator.first()
public int following(int offset)
following
in class BreakIterator
BreakIterator.following(int)
public CharacterIterator getText()
getText
in class BreakIterator
BreakIterator.getText()
public int last()
last
in class BreakIterator
BreakIterator.last()
public int next()
next
in class BreakIterator
BreakIterator.next()
public int next(int n)
next
in class BreakIterator
BreakIterator.next(int)
public int previous()
previous
in class BreakIterator
BreakIterator.previous()
public void setText(String text)
setText
in class BreakIterator
BreakIterator.setText(String)
public void setText(CharacterIterator text)
setText
in class BreakIterator
BreakIterator.setText(java.text.CharacterIterator)
public void addRegex(String regex)
public void addRegex(RegexWordBreakIterator.WordPattern wordPattern)
Copyright © 2016 Actian Corporation. All rights reserved.