Package ca.cgjennings.apps.arkham
Class TextEncoding
- java.lang.Object
-
- ca.cgjennings.apps.arkham.TextEncoding
-
public final class TextEncoding extends java.lang.ObjectFor various historical reasons, a number of different text encodings are used across Strange Eons for various purposes. This class presents a single source of truth for these encodings. This class contains both names andCharsetinstances for all of the major text encodings used by Strange Eons. Except for UTF-8, the members are named for their purpose rather than for the actual encoding standard.UTF-8 is generally preferred for new features.
- Since:
- 3.3
- Author:
- Chris Jennings
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCARD_LAYOUTName of the encoding used for card layout files (.cardlayout).static java.nio.charset.CharsetCARD_LAYOUT_CS*CharsetforCARD_LAYOUT.static java.lang.StringCATALOGName of the encoding used for plug-in catalogues.static java.nio.charset.CharsetCATALOG_CSCharsetforCATALOG.static java.lang.StringDEBUGGERName of the encoding used for the debug protocol.static java.nio.charset.CharsetDEBUGGER_CSCharsetforDEBUGGER.static java.lang.StringHTML_CSSName of the encoding used for HTML and CSS resources (.html,.css).static java.nio.charset.CharsetHTML_CSS_CSCharsetforHTML_CSS.static java.lang.StringPARSED_RESOURCEName of the encoding used for files processed with aResourceParser.static java.nio.charset.CharsetPARSED_RESOURCE_CSCharsetforPARSED_RESOURCE.static java.lang.StringPLAIN_TEXTName of the encoding used for plain text files.static java.nio.charset.CharsetPLAIN_TEXT_CSCharsetforPLAIN_TEXT.static java.lang.StringPLUGIN_ROOTName of the encoding used for plug-in root files.static java.nio.charset.CharsetPLUGIN_ROOT_CSCharsetforPLUGIN_ROOT.static java.nio.charset.CharsetSCRIPT_CODE_CS*CharsetforSOURCE_CODE.static java.lang.StringSETTINGSName of the encoding used to storeSettings.static java.nio.charset.CharsetSETTINGS_CSCharsetforSETTINGS.static java.lang.StringSOURCE_CODEName of the encoding used for source code (.ajs,.js,.ts, etc.).static java.lang.StringSTRINGSName of the encoding used to store string tables (.properties).static java.nio.charset.CharsetSTRINGS_CSCharsetforSTRINGS.static java.lang.StringTEMPLATEName of the encoding used forSETemplateProcessortemplates.static java.nio.charset.CharsetTEMPLATE_CSCharsetforTEMPLATE.static java.lang.StringUTF8Name of the UTF-8 8-bit Unicode encoding.static java.nio.charset.CharsetUTF8_CSCharsetforUTF8.static java.lang.StringWORD_LISTName of the encoding used to store plain spelling dictionary word lists.static java.nio.charset.CharsetWORD_LIST_CSCharsetforWORD_LIST.
-
-
-
Field Detail
-
UTF8
public static final java.lang.String UTF8
Name of the UTF-8 8-bit Unicode encoding.- See Also:
- Constant Field Values
-
UTF8_CS
public static final java.nio.charset.Charset UTF8_CS
CharsetforUTF8.
-
CARD_LAYOUT
public static final java.lang.String CARD_LAYOUT
Name of the encoding used for card layout files (.cardlayout).- See Also:
- Constant Field Values
-
CARD_LAYOUT_CS
public static final java.nio.charset.Charset CARD_LAYOUT_CS
*CharsetforCARD_LAYOUT.
-
CATALOG
public static final java.lang.String CATALOG
Name of the encoding used for plug-in catalogues.- See Also:
- Constant Field Values
-
CATALOG_CS
public static final java.nio.charset.Charset CATALOG_CS
CharsetforCATALOG.
-
DEBUGGER
public static final java.lang.String DEBUGGER
Name of the encoding used for the debug protocol.- See Also:
- Constant Field Values
-
DEBUGGER_CS
public static final java.nio.charset.Charset DEBUGGER_CS
CharsetforDEBUGGER.
-
HTML_CSS
public static final java.lang.String HTML_CSS
Name of the encoding used for HTML and CSS resources (.html,.css).- See Also:
- Constant Field Values
-
HTML_CSS_CS
public static final java.nio.charset.Charset HTML_CSS_CS
CharsetforHTML_CSS.
-
PARSED_RESOURCE
public static final java.lang.String PARSED_RESOURCE
Name of the encoding used for files processed with aResourceParser.- See Also:
- Constant Field Values
-
PARSED_RESOURCE_CS
public static final java.nio.charset.Charset PARSED_RESOURCE_CS
CharsetforPARSED_RESOURCE.
-
PLAIN_TEXT
public static final java.lang.String PLAIN_TEXT
Name of the encoding used for plain text files.- See Also:
- Constant Field Values
-
PLAIN_TEXT_CS
public static final java.nio.charset.Charset PLAIN_TEXT_CS
CharsetforPLAIN_TEXT.
-
PLUGIN_ROOT
public static final java.lang.String PLUGIN_ROOT
Name of the encoding used for plug-in root files.- See Also:
- Constant Field Values
-
PLUGIN_ROOT_CS
public static final java.nio.charset.Charset PLUGIN_ROOT_CS
CharsetforPLUGIN_ROOT.
-
SOURCE_CODE
public static final java.lang.String SOURCE_CODE
Name of the encoding used for source code (.ajs,.js,.ts, etc.).- See Also:
- Constant Field Values
-
SCRIPT_CODE_CS
public static final java.nio.charset.Charset SCRIPT_CODE_CS
*CharsetforSOURCE_CODE.
-
SETTINGS
public static final java.lang.String SETTINGS
Name of the encoding used to storeSettings.- See Also:
- Constant Field Values
-
SETTINGS_CS
public static final java.nio.charset.Charset SETTINGS_CS
CharsetforSETTINGS.
-
STRINGS
public static final java.lang.String STRINGS
Name of the encoding used to store string tables (.properties).- See Also:
- Constant Field Values
-
STRINGS_CS
public static final java.nio.charset.Charset STRINGS_CS
CharsetforSTRINGS.
-
TEMPLATE
public static final java.lang.String TEMPLATE
Name of the encoding used forSETemplateProcessortemplates.- See Also:
- Constant Field Values
-
TEMPLATE_CS
public static final java.nio.charset.Charset TEMPLATE_CS
CharsetforTEMPLATE.
-
WORD_LIST
public static final java.lang.String WORD_LIST
Name of the encoding used to store plain spelling dictionary word lists.- See Also:
- Constant Field Values
-
WORD_LIST_CS
public static final java.nio.charset.Charset WORD_LIST_CS
CharsetforWORD_LIST.
-
-