Interface UConverterConstants
interface UConverterConstants
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceThe process condition code to be used with the callbacks.static interface -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final Stringstatic final intstatic final intstatic final intstatic final intstatic final intvalues for the unicodeMaskstatic final intstatic final intstatic final intMaximum length of a converter name including the terminating NULLstatic final intMaximum length of a converter name including path and terminating NULLstatic final intstatic final intstatic final intstatic final intstatic final intstatic final byteCharacter that separates converter names from options and options from each other.static final intstatic final Stringstatic final intstatic final intShift in for EBDCDIC_STATEFUL and iso2022 statesstatic final intstatic final byte[]FROM_U, TO_U context options for skip callbackstatic final intShift out for EBDCDIC_STATEFUL and iso2022 statesstatic final byte[]FROM_U, TO_U context options for sub callbackstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intThis value is intended for sentinel values for APIs that (take or) return single code points (UChar32).static final intThe maximum number of 16-bit code units per Unicode code point (U+0000..U+10ffff).static final intUseful constant for the maximum size of the whole locale ID (including the terminating NULL).static final shortstatic final longstatic final int
-
Field Details
-
UNSIGNED_BYTE_MASK
static final short UNSIGNED_BYTE_MASK- See Also:
-
UNSIGNED_SHORT_MASK
static final int UNSIGNED_SHORT_MASK- See Also:
-
UNSIGNED_INT_MASK
static final long UNSIGNED_INT_MASK- See Also:
-
U_IS_BIG_ENDIAN
static final int U_IS_BIG_ENDIAN- See Also:
-
ULOC_FULLNAME_CAPACITY
static final int ULOC_FULLNAME_CAPACITYUseful constant for the maximum size of the whole locale ID (including the terminating NULL).- See Also:
-
U_SENTINEL
static final int U_SENTINELThis value is intended for sentinel values for APIs that (take or) return single code points (UChar32). It is outside of the Unicode code point range 0..0x10ffff. For example, a "done" or "error" value in a new API could be indicated with U_SENTINEL. ICU APIs designed before ICU 2.4 usually define service-specific "done" values, mostly 0xffff. Those may need to be distinguished from actual U+ffff text contents by calling functions like CharacterIterator::hasNext() or UnicodeString::length().- See Also:
-
OPTION_SEP_CHAR
static final byte OPTION_SEP_CHARCharacter that separates converter names from options and options from each other.- See Also:
-
MAX_CONVERTER_NAME_LENGTH
static final int MAX_CONVERTER_NAME_LENGTHMaximum length of a converter name including the terminating NULL- See Also:
-
MAX_FULL_FILE_NAME_LENGTH
static final int MAX_FULL_FILE_NAME_LENGTHMaximum length of a converter name including path and terminating NULL- See Also:
-
SI
static final int SIShift in for EBDCDIC_STATEFUL and iso2022 states- See Also:
-
SO
static final int SOShift out for EBDCDIC_STATEFUL and iso2022 states- See Also:
-
ERROR_BUFFER_LENGTH
static final int ERROR_BUFFER_LENGTH- See Also:
-
MAX_SUBCHAR_LEN
static final int MAX_SUBCHAR_LEN- See Also:
-
MAX_CHAR_LEN
static final int MAX_CHAR_LEN- See Also:
-
OPTION_VERSION
static final int OPTION_VERSION- See Also:
-
OPTION_SWAP_LFNL
static final int OPTION_SWAP_LFNL- See Also:
-
OPTION_MAC
static final int OPTION_MAC- See Also:
-
OPTION_SWAP_LFNL_STRING
- See Also:
-
HAS_SUPPLEMENTARY
static final int HAS_SUPPLEMENTARYvalues for the unicodeMask- See Also:
-
HAS_SURROGATES
static final int HAS_SURROGATES- See Also:
-
missingCharMarker
static final int missingCharMarker- See Also:
-
U16_MAX_LENGTH
static final int U16_MAX_LENGTHThe maximum number of 16-bit code units per Unicode code point (U+0000..U+10ffff).- See Also:
-
SUB_STOP_ON_ILLEGAL
static final byte[] SUB_STOP_ON_ILLEGALFROM_U, TO_U context options for sub callback -
SKIP_STOP_ON_ILLEGAL
static final byte[] SKIP_STOP_ON_ILLEGALFROM_U, TO_U context options for skip callback -
DATA_TYPE
- See Also:
-
CNV_DATA_BUFFER_SIZE
static final int CNV_DATA_BUFFER_SIZE- See Also:
-
SIZE_OF_UCONVERTER_SHARED_DATA
static final int SIZE_OF_UCONVERTER_SHARED_DATA- See Also:
-
MAXIMUM_UCS2
static final int MAXIMUM_UCS2- See Also:
-
MAXIMUM_UTF
static final int MAXIMUM_UTF- See Also:
-
HALF_SHIFT
static final int HALF_SHIFT- See Also:
-
HALF_BASE
static final int HALF_BASE- See Also:
-
HALF_MASK
static final int HALF_MASK- See Also:
-
SURROGATE_HIGH_START
static final int SURROGATE_HIGH_START- See Also:
-
SURROGATE_HIGH_END
static final int SURROGATE_HIGH_END- See Also:
-
SURROGATE_LOW_START
static final int SURROGATE_LOW_START- See Also:
-
SURROGATE_LOW_END
static final int SURROGATE_LOW_END- See Also:
-
SURROGATE_LOW_BASE
static final int SURROGATE_LOW_BASE- See Also:
-