Package oracle.stellent.ridc.i18n.utils
Class SimpleMnemonicKeyValidator
java.lang.Object
oracle.stellent.ridc.i18n.utils.SimpleMnemonicKeyValidator
- All Implemented Interfaces:
MnemonicKeyValidator
CJK characters (characters in following Unicode block) are not valid for mnemonic key.
- BOPOMOFO
- BOPOMOFO_EXTENDED
- CJK_COMPATIBILITY
- CJK_COMPATIBILITY_FORMS
- CJK_COMPATIBILITY_IDEOGRAPHS
- CJK_RADICALS_SUPPLEMENT
- CJK_SYMBOLS_AND_PUNCTUATION
- CJK_UNIFIED_IDEOGRAPHS
- CJK_UNIFIED_IDEOGRAPHS_EXTENSION_A
- ENCLOSED_CJK_LETTERS_AND_MONTHS
- HALFWIDTH_AND_FULLWIDTH_FORMS
- HANGUL_COMPATIBILITY_JAMO
- HANGUL_JAMO
- HANGUL_SYLLABLES
- HIRAGANA
- KANBUN
- KANGXI_RADICALS
- KATAKANA
- YI_RADICALS
- YI_SYLLABLES
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
isValidMnemonicKey
(int key) Returns true if key is not a CJK Character.
-
Constructor Details
-
SimpleMnemonicKeyValidator
public SimpleMnemonicKeyValidator()
-
-
Method Details
-
isValidMnemonicKey
public boolean isValidMnemonicKey(int key) Returns true if key is not a CJK Character.- Specified by:
isValidMnemonicKey
in interfaceMnemonicKeyValidator
- Parameters:
key
- mnemonic key- Returns:
- true if key is valid mnemonic key, else false
-