Top Constructors Methods
org.apache.poi.util

public Class CodepointsUtil

extends Object
Class Inheritance
Annotations
@Internal
Imports
java.util.Iterator, .PrimitiveIterator

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static Iterator<String>

Returns:

iterator with Strings representing the codepoints
iteratorFor
(String
to iterate over
text
)

public static PrimitiveIterator.OfInt

Returns:

iterator with ints representing the codepoints
primitiveIterator
(String
to iterate over
text
)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

CodepointsUtilback to summary
public CodepointsUtil()

Method Detail

iteratorForback to summary
public static Iterator<String> iteratorFor(String text)
Parameters
text:String

to iterate over

Returns:Iterator<String>

iterator with Strings representing the codepoints

See Also
a more performant iterator
primitiveIteratorback to summary
public static PrimitiveIterator.OfInt primitiveIterator(String text)
Parameters
text:String

to iterate over

Returns:PrimitiveIterator.OfInt

iterator with ints representing the codepoints

Since
POI 5.2.4