public enum ScriptCode extends Enum<ScriptCode>
Enum Constant and Description |
---|
Afak
Afaka [439]
|
Aghb
Caucasian Albanian [239]
|
Arab
Arabic [160]
|
Armi
Imperial Aramaic [124]
|
Armn
Armenian [230]
|
Avst
Avestan [134]
|
Bali
Balinese [360]
|
Bamu
Bamum [435]
|
Bass
Bassa Vah [259]
|
Batk
Batak [365]
|
Beng
Bengali [325]
|
Blis
Blissymbols [550]
|
Bopo
Bopomofo [285]
|
Brah
Brahmi [300]
|
Brai
Braille [570]
|
Bugi
Buginese [367]
|
Buhd
Buhid [372]
|
Cakm
Chakma [349]
|
Cans
Unified Canadian Aboriginal Syllabics [440]
|
Cari
Carian [201]
|
Cham
Cham [358]
|
Cher
Cherokee [445]
|
Cirt
Cirth [291]
|
Copt
Coptic [204]
|
Cprt
Cypriot [403]
|
Cyrl
Cyrillic [220]
|
Cyrs
Cyrillic [221]
|
Deva
Devanagari [315]
|
Dsrt
Deseret [250]
|
Dupl
Duployan shorthand, Duployan stenography [755]
|
Egyd
Egyptian demotic [070]
|
Egyh
Egyptian hieratic [060]
|
Egyp
Egyptian hieroglyphs [050]
|
Elba
Elbasan [226]
|
Ethi
Ethiopic [430]
|
Geok
Khutsuri [241]
|
Geor
Georgian [240]
|
Glag
Glagolitic [225]
|
Goth
Gothic [206]
|
Gran
Grantha [343]
|
Grek
Greek [200]
|
Gujr
Gujarati [320]
|
Guru
Gurmukhi [310]
|
Hang
Hangul [286]
|
Hani
Han [500]
|
Hano
Hanunoo [371]
|
Hans
Han [501]
|
Hant
Han [502]
|
Hebr
Hebrew [125]
|
Hira
Hiragana [410]
|
Hluw
Anatolian Hieroglyphs [080]
|
Hmng
Pahawh Hmong [450]
|
Hrkt
Japanese syllabaries [412]
|
Hung
Old Hungarian [176]
|
Inds
Indus [610]
|
Ital
Old Italic [210]
|
Java
Javanese [361]
|
Jpan
Japanese [413]
|
Jurc
Jurchen [510]
|
Kali
Kayah Li [357]
|
Kana
Katakana [411]
|
Khar
Kharoshthi [305]
|
Khmr
Khmer [355]
|
Khoj
Khojki [322]
|
Knda
Kannada [345]
|
Kore
Korean [287]
|
Kpel
Kpelle [436]
|
Kthi
Kaithi [317]
|
Lana
Tai Tham [351]
|
Laoo
Lao [356]
|
Latf
Latin [217]
|
Latg
Latin [216]
|
Latn
Latin [215]
|
Lepc
Lepcha [335]
|
Limb
Limbu [336]
|
Lina
Linear A [400]
|
Linb
Linear B [401]
|
Lisu
Lisu [399]
|
Loma
Loma [437]
|
Lyci
Lycian [202]
|
Lydi
Lydian [116]
|
Mahj
Mahajani [314]
|
Mand
Mandaic, Mandaean [140]
|
Mani
Manichaean [139]
|
Maya
Mayan hieroglyphs [090]
|
Mend
Mende [438]
|
Merc
Meroitic Cursive [101]
|
Mero
Meroitic Hieroglyphs [100]
|
Mlym
Malayalam [347]
|
Mong
Mongolian [145]
|
Moon
Moon [218]
|
Mroo
Mro, Mru [199]
|
Mtei
Meitei Mayek [337]
|
Mymr
Myanmar [350]
|
Narb
Old North Arabian [106]
|
Nbat
Nabataean [159]
|
Nkgb
Nakhi Geba [420]
|
Nkoo
N’Ko [165]
|
Nshu
Nushu [499]
|
Ogam
Ogham [212]
|
Olck
Ol Chiki [261]
|
Orkh
Old Turkic, Orkhon Runic [175]
|
Orya
Oriya [327]
|
Osma
Osmanya [260]
|
Palm
Palmyrene [126]
|
Perm
Old Permic [227]
|
Phag
Phags-pa [331]
|
Phli
Inscriptional Pahlavi [131]
|
Phlp
Psalter Pahlavi [132]
|
Phlv
Book Pahlavi [133]
|
Phnx
Phoenician [115]
|
Plrd
Miao [282]
|
Prti
Inscriptional Parthian [130]
|
Qaaa
Reserved for private use [900]
|
Qabx
Reserved for private use [949]
|
Rjng
Rejang [363]
|
Roro
Rongorongo [620]
|
Runr
Runic [211]
|
Samr
Samaritan [123]
|
Sara
Sarati [292]
|
Sarb
Old South Arabian [105]
|
Saur
Saurashtra [344]
|
Sgnw
SignWriting [095]
|
Shaw
Shavian [281]
|
Shrd
Sharada [319]
|
Sind
Khudawadi, Sindhi [318]
|
Sinh
Sinhala [348]
|
Sora
Sora Sompeng [398]
|
Sund
Sundanese [362]
|
Sylo
Syloti Nagri [316]
|
Syrc
Syriac [135]
|
Syre
Syriac [138]
|
Syrj
Syriac [137]
|
Syrn
Syriac [136]
|
Tagb
Tagbanwa [373]
|
Takr
Takri [321]
|
Tale
Tai Le [353]
|
Talu
New Tai Lue [354]
|
Taml
Tamil [346]
|
Tang
Tangut [520]
|
Tavt
Tai Viet [359]
|
Telu
Telugu [340]
|
Teng
Tengwar [290]
|
Tfng
Tifinagh [120]
|
Tglg
Tagalog [370]
|
Thaa
Thaana [170]
|
Thai
Thai [352]
|
Tibt
Tibetan [330]
|
Tirh
Tirhuta [326]
|
Ugar
Ugaritic [040]
|
Undefined
Undefined [-1]
|
Vaii
Vai [470]
|
Visp
Visible Speech [280]
|
Wara
Warang Citi [262]
|
Wole
Woleai [480]
|
Xpeo
Old Persian [030]
|
Xsux
Cuneiform, Sumero-Akkadian [020]
|
Yiii
Yi [460]
|
Zinh
Code for inherited script [994]
|
Zmth
Mathematical notation [995]
|
Zsym
Symbols [996]
|
Zxxx
Code for unwritten documents [997]
|
Zyyy
Code for undetermined script [998]
|
Zzzz
Code for uncoded script [999]
|
Modifier and Type | Method and Description |
---|---|
static List<ScriptCode> |
findByName(Pattern pattern)
Get a list of
ScriptCode by a name pattern. |
static List<ScriptCode> |
findByName(String regex)
Get a list of
ScriptCode by a name regular expression. |
static ScriptCode |
getByCode(int code)
Get a
ScriptCode instance that corresponds to the given
ISO 15924 numeric code. |
static ScriptCode |
getByCode(String code)
Get a
ScriptCode instance that corresponds to the given
ISO 15924 alpha-4 code. |
static ScriptCode |
getByCode(String code,
boolean caseSensitive)
Get a
ScriptCode instance that corresponds to the given
ISO 15924 alpha-4 code. |
static ScriptCode |
getByCodeIgnoreCase(String code)
Get a
ScriptCode instance that corresponds to the given
ISO 15924 alpha-4 code. |
String |
getName()
Get English name of this script code.
|
int |
getNumeric()
Get the numeric code of this script code.
|
static ScriptCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScriptCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScriptCode Undefined
This is not an official ISO 15924 code.
public static final ScriptCode Afak
public static final ScriptCode Aghb
public static final ScriptCode Arab
public static final ScriptCode Armi
public static final ScriptCode Armn
public static final ScriptCode Avst
public static final ScriptCode Bali
public static final ScriptCode Bamu
public static final ScriptCode Bass
public static final ScriptCode Batk
public static final ScriptCode Beng
public static final ScriptCode Blis
public static final ScriptCode Bopo
public static final ScriptCode Brah
public static final ScriptCode Brai
public static final ScriptCode Bugi
public static final ScriptCode Buhd
public static final ScriptCode Cakm
public static final ScriptCode Cans
public static final ScriptCode Cari
public static final ScriptCode Cham
public static final ScriptCode Cher
public static final ScriptCode Cirt
public static final ScriptCode Copt
public static final ScriptCode Cprt
public static final ScriptCode Cyrl
public static final ScriptCode Cyrs
public static final ScriptCode Deva
public static final ScriptCode Dsrt
public static final ScriptCode Dupl
public static final ScriptCode Egyd
public static final ScriptCode Egyh
public static final ScriptCode Egyp
public static final ScriptCode Elba
public static final ScriptCode Ethi
public static final ScriptCode Geor
public static final ScriptCode Geok
public static final ScriptCode Glag
public static final ScriptCode Goth
public static final ScriptCode Gran
public static final ScriptCode Grek
public static final ScriptCode Gujr
public static final ScriptCode Guru
public static final ScriptCode Hang
public static final ScriptCode Hani
public static final ScriptCode Hano
public static final ScriptCode Hans
public static final ScriptCode Hant
public static final ScriptCode Hebr
public static final ScriptCode Hira
public static final ScriptCode Hluw
public static final ScriptCode Hmng
public static final ScriptCode Hrkt
public static final ScriptCode Hung
public static final ScriptCode Inds
public static final ScriptCode Ital
public static final ScriptCode Java
public static final ScriptCode Jpan
public static final ScriptCode Jurc
public static final ScriptCode Kali
public static final ScriptCode Kana
public static final ScriptCode Khar
public static final ScriptCode Khmr
public static final ScriptCode Khoj
public static final ScriptCode Knda
public static final ScriptCode Kore
public static final ScriptCode Kpel
public static final ScriptCode Kthi
public static final ScriptCode Lana
public static final ScriptCode Laoo
public static final ScriptCode Latf
public static final ScriptCode Latg
public static final ScriptCode Latn
public static final ScriptCode Lepc
public static final ScriptCode Limb
public static final ScriptCode Lina
public static final ScriptCode Linb
public static final ScriptCode Lisu
public static final ScriptCode Loma
public static final ScriptCode Lyci
public static final ScriptCode Lydi
public static final ScriptCode Mahj
public static final ScriptCode Mand
public static final ScriptCode Mani
public static final ScriptCode Maya
public static final ScriptCode Mend
public static final ScriptCode Merc
public static final ScriptCode Mero
public static final ScriptCode Mlym
public static final ScriptCode Moon
public static final ScriptCode Mong
public static final ScriptCode Mroo
public static final ScriptCode Mtei
public static final ScriptCode Mymr
public static final ScriptCode Narb
public static final ScriptCode Nbat
public static final ScriptCode Nkgb
public static final ScriptCode Nkoo
public static final ScriptCode Nshu
public static final ScriptCode Ogam
public static final ScriptCode Olck
public static final ScriptCode Orkh
public static final ScriptCode Orya
public static final ScriptCode Osma
public static final ScriptCode Palm
public static final ScriptCode Perm
public static final ScriptCode Phag
public static final ScriptCode Phli
public static final ScriptCode Phlp
public static final ScriptCode Phlv
public static final ScriptCode Phnx
public static final ScriptCode Plrd
public static final ScriptCode Prti
public static final ScriptCode Qaaa
public static final ScriptCode Qabx
public static final ScriptCode Rjng
public static final ScriptCode Roro
public static final ScriptCode Runr
public static final ScriptCode Samr
public static final ScriptCode Sara
public static final ScriptCode Sarb
public static final ScriptCode Saur
public static final ScriptCode Sgnw
public static final ScriptCode Shaw
public static final ScriptCode Shrd
public static final ScriptCode Sind
public static final ScriptCode Sinh
public static final ScriptCode Sora
public static final ScriptCode Sund
public static final ScriptCode Sylo
public static final ScriptCode Syrc
public static final ScriptCode Syre
public static final ScriptCode Syrj
public static final ScriptCode Syrn
public static final ScriptCode Tagb
public static final ScriptCode Takr
public static final ScriptCode Tale
public static final ScriptCode Talu
public static final ScriptCode Taml
public static final ScriptCode Tang
public static final ScriptCode Tavt
public static final ScriptCode Telu
public static final ScriptCode Teng
public static final ScriptCode Tfng
public static final ScriptCode Tglg
public static final ScriptCode Thaa
public static final ScriptCode Thai
public static final ScriptCode Tibt
public static final ScriptCode Tirh
public static final ScriptCode Ugar
public static final ScriptCode Vaii
public static final ScriptCode Visp
public static final ScriptCode Wara
public static final ScriptCode Wole
public static final ScriptCode Xpeo
public static final ScriptCode Xsux
public static final ScriptCode Yiii
public static final ScriptCode Zinh
public static final ScriptCode Zmth
public static final ScriptCode Zsym
public static final ScriptCode Zxxx
public static final ScriptCode Zyyy
public static final ScriptCode Zzzz
public static ScriptCode[] values()
for (ScriptCode c : ScriptCode.values()) System.out.println(c);
public static ScriptCode 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 nullpublic int getNumeric()
public String getName()
public static ScriptCode getByCode(String code)
ScriptCode
instance that corresponds to the given
ISO 15924 alpha-4 code.
This method calls getByCode
(code, true)
.
Note that the behavior has changed since the version 1.13. In the older versions,
this method was an alias of getByCode(code, false)
.
code
- ISO 15924 alpha-4 code. Or "Undefined" (case sensitive).ScriptCode
instance, or null
if not found.public static ScriptCode getByCodeIgnoreCase(String code)
ScriptCode
instance that corresponds to the given
ISO 15924 alpha-4 code.
This method calls getByCode
(code, false)
.
code
- ISO 15924 alpha-4 code. Or "Undefined" (case insensitive).ScriptCode
instance, or null
if not found.public static ScriptCode getByCode(String code, boolean caseSensitive)
ScriptCode
instance that corresponds to the given
ISO 15924 alpha-4 code.code
- ISO 15924 alpha-4 code. Or "Undefined" (its case sensitivity
depends on the value of caseSensitive
).caseSensitive
- If true
, the first letter of the given code should be
capital and the other letters should be small. If false
,
whether letters are capital or small does not matter.
For example, getByCode("JPAN", true)
returns
null
but getByCode("JPAN", false)
returns
Jpan
.ScriptCode
instance, or null
if not found.public static ScriptCode getByCode(int code)
ScriptCode
instance that corresponds to the given
ISO 15924 numeric code.code
- ISO 15924 numeric code.ScriptCode
instance, or null
if not found.
If 0 or a negative value is given, null
is returned.public static List<ScriptCode> findByName(String regex)
ScriptCode
by a name regular expression.
This method is almost equivalent to findByName
(Pattern.compile(regex))
.
regex
- Regular expression for names.ScriptCode
. If nothing has matched,
an empty list is returned.IllegalArgumentException
- regex
is null
.PatternSyntaxException
- regex
failed to be compiled.public static List<ScriptCode> findByName(Pattern pattern)
ScriptCode
by a name pattern.
For example, the list obtained by the code snippet below:
Pattern pattern = Pattern.compile("Egyptian.*");
List<ScriptCode> list = ScriptCode.findByName(pattern);
contains 3 ScriptCode
s as listed below.
pattern
- Pattern to match names.ScriptCode
. If nothing has matched,
an empty list is returned.IllegalArgumentException
- pattern
is null
.Copyright © 2021. All rights reserved.