aicas logoJamaica 3.2 release 62

sun.text
Class ComposedCharIter

java.lang.Object
  extended by sun.text.ComposedCharIter

public final class ComposedCharIter
extends Object


Field Summary
static int DONE
          Constant that indicates the iteration has completed.
 
Constructor Summary
ComposedCharIter()
          Construct a new ComposedCharIter.
 
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
 

Field Detail

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
Constructor Detail

ComposedCharIter

public ComposedCharIter()
Construct a new ComposedCharIter. The iterator will return all Unicode characters with canonical decompositions, excluding Korean Hangul characters.

Method Detail

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 logoJamaica 3.2 release 62

aicas GmbH, Karlsruhe - Germany    www.aicas.com
Copyright 2001-2008 aicas GmbH. All Rights Reserved.