Class GraphemeClusterProducer
- java.lang.Object
-
- org.pentaho.reporting.libraries.fonts.text.GraphemeClusterProducer
-
- All Implemented Interfaces:
Cloneable,ClassificationProducer
public class GraphemeClusterProducer extends Object implements ClassificationProducer
Creation-Date: 11.06.2006, 17:02:27- Author:
- Thomas Morgner
-
-
Field Summary
-
Fields inherited from interface org.pentaho.reporting.libraries.fonts.text.ClassificationProducer
END_OF_TEXT, START_OF_TEXT
-
-
Constructor Summary
Constructors Constructor Description GraphemeClusterProducer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectclone()booleancreateGraphemeCluster(int codePoint)Returns an alternating counter for the grapheme clusters.
-
-
-
Method Detail
-
createGraphemeCluster
public boolean createGraphemeCluster(int codePoint)
Returns an alternating counter for the grapheme clusters. The value returned can be tested for equality; if two subsequent calls return the same value, the characters of these calls belong to the same cluster.- Parameters:
codePoint-- Returns:
- true, if a new cluster starts, false if the old cluster continues.
-
clone
public Object clone() throws CloneNotSupportedException
- Specified by:
clonein interfaceClassificationProducer- Overrides:
clonein classObject- Throws:
CloneNotSupportedException
-
-