public enum CharacterClass extends Enum<CharacterClass>
getCharacterClass
to decide how a character is to be treated during index creation.Enum Constant and Description |
---|
HIRAGANA
The character is a hiragana character.
|
KANJI
The character is a kanji character.
|
KATAKANA
The character is a katakana character.
|
OTHER
The character is not in any of the other character classes.
|
ROMAN_WORD
The character is part of a roman word.
|
Modifier and Type | Method and Description |
---|---|
static CharacterClass |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CharacterClass[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CharacterClass KANJI
public static final CharacterClass HIRAGANA
public static final CharacterClass KATAKANA
public static final CharacterClass ROMAN_WORD
public static final CharacterClass OTHER
public static CharacterClass[] values()
for (CharacterClass c : CharacterClass.values()) System.out.println(c);
public static CharacterClass valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullCopyright © 2001-2013 the JGloss developers. All Rights Reserved.