# Uses of Class
org.apache.lucene.analysis.util.CharTokenizer

Packages that use CharTokenizer
Package
Description
org.apache.lucene.analysis.core
Basic, general-purpose analysis components.
org.apache.lucene.analysis.util
Utility functions for text analysis.

## Uses of CharTokenizer in org.apache.lucene.analysis.core

Subclasses of CharTokenizer in org.apache.lucene.analysis.core
Modifier and Type
Class
Description
`class`
`LetterTokenizer`
A LetterTokenizer is a tokenizer that divides text at non-letters.
`final class`
`UnicodeWhitespaceTokenizer`
A UnicodeWhitespaceTokenizer is a tokenizer that divides text at whitespace.
`final class`
`WhitespaceTokenizer`
A tokenizer that divides text at whitespace characters as defined by `Character.isWhitespace(int)`.

## Uses of CharTokenizer in org.apache.lucene.analysis.util

Methods in org.apache.lucene.analysis.util that return CharTokenizer
Modifier and Type
Method
Description
`static CharTokenizer`
CharTokenizer.`fromSeparatorCharPredicate(IntPredicate separatorCharPredicate)`
Creates a new instance of CharTokenizer using a custom predicate, supplied as method reference or lambda expression.
`static CharTokenizer`
CharTokenizer.`fromSeparatorCharPredicate(AttributeFactory factory, IntPredicate separatorCharPredicate)`
Creates a new instance of CharTokenizer with the supplied attribute factory using a custom predicate, supplied as method reference or lambda expression.
`static CharTokenizer`
CharTokenizer.`fromTokenCharPredicate(IntPredicate tokenCharPredicate)`
Creates a new instance of CharTokenizer using a custom predicate, supplied as method reference or lambda expression.
`static CharTokenizer`
CharTokenizer.`fromTokenCharPredicate(AttributeFactory factory, IntPredicate tokenCharPredicate)`
Creates a new instance of CharTokenizer with the supplied attribute factory using a custom predicate, supplied as method reference or lambda expression.