sun.text
Class ComposedCharIter
java.lang.Object
sun.text.ComposedCharIter
public final class ComposedCharIter
- extends Object
|
Field Summary |
static int |
DONE
Constant that indicates the iteration has completed. |
|
Method Summary |
String |
decomposition()
Returns the Unicode decomposition of the current character. |
int |
next()
Returns the next precomposed Unicode character. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DONE
public static final int DONE
- Constant that indicates the iteration has completed.
next() returns this value when there are no more composed characters
over which to iterate.
- See Also:
- Constant Field Values
ComposedCharIter
public ComposedCharIter()
- Construct a new ComposedCharIter. The iterator will return
all Unicode characters with canonical decompositions, excluding Korean
Hangul characters.
next
public int next()
- Returns the next precomposed Unicode character.
Repeated calls to next return all of the precomposed characters defined
by Unicode, in ascending order. After all precomposed characters have
been returned,
#hasNext will return false and further calls
to next will return DONE.
decomposition
public String decomposition()
- Returns the Unicode decomposition of the current character.
This method returns the decomposition of the precomposed character most
recently returned by
next(). The resulting decomposition is
affected by the settings of the options passed to the constructor.
aicas GmbH, Karlsruhe - Germany www.aicas.com
Copyright 2001-2009 aicas GmbH. All Rights Reserved.