Package | Description |
---|---|
javolution.text |
Text handling package.
|
Modifier and Type | Field and Description |
---|---|
static CharSet |
CharSet.EMPTY
Represents an empty character set.
|
static CharSet |
CharSet.ISO_CONTROLS
Represents ISO control characters according to Java
(see
Character.isISOControl(char) ). |
static CharSet |
CharSet.SPACES
Represents spaces characters according to Java
(see
Character.isSpaceChar(char) ). |
static CharSet |
CharSet.WHITESPACES
Represents white spaces characters according to Java
(see
Character.isWhitespace(char) ). |
Modifier and Type | Method and Description |
---|---|
CharSet |
CharSet.minus(CharSet that)
Returns the character set containing the characters from this
character minus the characters from the character set specified.
|
CharSet |
CharSet.plus(CharSet that)
Returns the character set containing the characters from this
character set plus the characters from the character set specified.
|
static CharSet |
CharSet.rangeOf(char first,
char last)
Returns the character set holding the characters in the specified
range.
|
CharSet |
CharSet.value() |
static CharSet |
CharSet.valueOf(char... chars)
Returns the character set holding the specified characters.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Cursor.at(CharSet charSet,
CharSequence csq)
Indicates if this cursor points to any of the specified character in the
specified character sequence.
|
int |
Text.indexOfAny(CharSet charSet)
Returns the index within this text of the first occurrence
of any character in the specified character set.
|
int |
Text.indexOfAny(CharSet charSet,
int start)
Returns the index within a region of this text of the first occurrence
of any character in the specified character set.
|
int |
Text.indexOfAny(CharSet charSet,
int start,
int length)
Returns the index within a region of this text of the first occurrence
of any character in the specified character set.
|
int |
Text.lastIndexOfAny(CharSet charSet)
Returns the index within this text of the last occurrence
of any character in the specified character set.
|
int |
Text.lastIndexOfAny(CharSet charSet,
int start)
Returns the index within a region of this text of the last occurrence
of any character in the specified character set.
|
int |
Text.lastIndexOfAny(CharSet charSet,
int start,
int length)
Returns the index within a region of this text of the last occurrence
of any character in the specified character set.
|
CharSet |
CharSet.minus(CharSet that)
Returns the character set containing the characters from this
character minus the characters from the character set specified.
|
CharSequence |
Cursor.nextToken(CharSequence csq,
CharSet charSet)
Returns the subsequence from the specified cursor position not holding
any of the characters specified.
|
CharSet |
CharSet.plus(CharSet that)
Returns the character set containing the characters from this
character set plus the characters from the character set specified.
|
Text |
Text.replace(CharSet charSet,
CharSequence replacement)
Replaces the specified characters in this text with the specified
replacement sequence.
|
boolean |
Cursor.skip(CharSet charSet,
CharSequence csq)
Moves this cursor forward only if at any of the specified character.
|
boolean |
Cursor.skipAny(CharSet charSet,
CharSequence csq)
Moves this cursor forward until it points to a character
different from any of the character in the specified set.
|
Copyright © 2005-2013 Javolution. All Rights Reserved.