public class CharacterSet extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
m_CharacterSet
The Iana code for this character set.
|
Modifier | Constructor and Description |
---|---|
protected |
CharacterSet(String charset)
Creates a new CharacterSet given an Iana code.
|
Modifier and Type | Method and Description |
---|---|
String |
getIanaCharacterSet()
Returns the Iana code name for this character set.
|
String |
getIanaCharacterSetLabel(LibrarySession sess)
Returns the localized display name for this character set.
|
String |
getIanaCharacterSetLabel(Localizer localizer)
Returns the localized display name for this character set.
|
String |
getJavaCharacterSet()
Returns the Java code name for this character set.
|
String |
getOracleCharacterSet()
Returns the Oracle code name for this character set.
|
Language[] |
getSupportedLanguages()
Returns the languages that this character set supports.
|
protected String m_CharacterSet
protected CharacterSet(String charset)
charset
- the Iana code.public String getIanaCharacterSet()
public String getJavaCharacterSet()
public String getOracleCharacterSet()
public String getIanaCharacterSetLabel(LibrarySession sess) throws IfsException
sess
- current LibrarySessionIfsException
- if the operation failspublic String getIanaCharacterSetLabel(Localizer localizer) throws IfsException
localizer
- use if have no LibrarySession yetIfsException
- if the operation failspublic Language[] getSupportedLanguages()
Copyright © 2023. All rights reserved.