public abstract class CharacterSetWithConverter extends CharacterSet
Modifier and Type | Field | Description |
---|---|---|
static oracle.sql.converter.CharacterConverterFactory |
ccFactory |
AL16UTF16_CHARSET, AL16UTF16LE_CHARSET, AL24UTFFSS_CHARSET, AL32UTF8_CHARSET, AR8ADOS710_CHARSET, AR8ADOS710T_CHARSET, AR8ADOS720_CHARSET, AR8ADOS720T_CHARSET, AR8APTEC715_CHARSET, AR8APTEC715T_CHARSET, AR8ARABICMAC_CHARSET, AR8ARABICMACS_CHARSET, AR8ARABICMACT_CHARSET, AR8ASMO708PLUS_CHARSET, AR8ASMO8X_CHARSET, AR8EBCDIC420S_CHARSET, AR8EBCDICX_CHARSET, AR8HPARABIC8T_CHARSET, AR8ISO8859P6_CHARSET, AR8MSAWIN_CHARSET, AR8MSWIN1256_CHARSET, AR8MUSSAD768_CHARSET, AR8MUSSAD768T_CHARSET, AR8NAFITHA711_CHARSET, AR8NAFITHA711T_CHARSET, AR8NAFITHA721_CHARSET, AR8NAFITHA721T_CHARSET, AR8SAKHR706_CHARSET, AR8SAKHR707_CHARSET, AR8SAKHR707T_CHARSET, AR8XBASIC_CHARSET, ASCII_CHARSET, AZ8ISO8859P9E_CHARSET, BG8MSWIN_CHARSET, BG8PC437S_CHARSET, BLT8CP921_CHARSET, BLT8EBCDIC1112_CHARSET, BLT8EBCDIC1112S_CHARSET, BLT8ISO8859P13_CHARSET, BLT8MSWIN1257_CHARSET, BLT8PC775_CHARSET, BN8BSCII_CHARSET, CDN8PC863_CHARSET, CE8BS2000_CHARSET, CEL8ISO8859P14_CHARSET, CH7DEC_CHARSET, CL8BS2000_CHARSET, CL8EBCDIC1025_CHARSET, CL8EBCDIC1025C_CHARSET, CL8EBCDIC1025R_CHARSET, CL8EBCDIC1025S_CHARSET, CL8EBCDIC1025X_CHARSET, CL8EBCDIC1158_CHARSET, CL8EBCDIC1158R_CHARSET, CL8ISO8859P5_CHARSET, CL8ISOIR111_CHARSET, CL8KOI8R_CHARSET, CL8KOI8U_CHARSET, CL8MACCYRILLIC_CHARSET, CL8MACCYRILLICS_CHARSET, CL8MSWIN1251_CHARSET, D7DEC_CHARSET, D7SIEMENS9780X_CHARSET, D8BS2000_CHARSET, D8EBCDIC1141_CHARSET, D8EBCDIC273_CHARSET, DEFAULT_CHARSET, DK7SIEMENS9780X_CHARSET, DK8BS2000_CHARSET, DK8EBCDIC1142_CHARSET, DK8EBCDIC277_CHARSET, E7DEC_CHARSET, E7SIEMENS9780X_CHARSET, E8BS2000_CHARSET, EE8BS2000_CHARSET, EE8EBCDIC870_CHARSET, EE8EBCDIC870C_CHARSET, EE8EBCDIC870S_CHARSET, EE8ISO8859P2_CHARSET, EE8MACCE_CHARSET, EE8MACCES_CHARSET, EE8MACCROATIAN_CHARSET, EE8MACCROATIANS_CHARSET, EE8MSWIN1250_CHARSET, EE8PC852_CHARSET, EEC8EUROASCI_CHARSET, EEC8EUROPA3_CHARSET, EL8DEC_CHARSET, EL8EBCDIC423R_CHARSET, EL8EBCDIC875_CHARSET, EL8EBCDIC875R_CHARSET, EL8EBCDIC875S_CHARSET, EL8GCOS7_CHARSET, EL8ISO8859P7_CHARSET, EL8MACGREEK_CHARSET, EL8MACGREEKS_CHARSET, EL8MSWIN1253_CHARSET, EL8PC437S_CHARSET, EL8PC737_CHARSET, EL8PC851_CHARSET, EL8PC869_CHARSET, ET8MSWIN923_CHARSET, F7DEC_CHARSET, F7SIEMENS9780X_CHARSET, F8BS2000_CHARSET, F8EBCDIC1147_CHARSET, F8EBCDIC297_CHARSET, HU8ABMOD_CHARSET, HU8CWI2_CHARSET, I7DEC_CHARSET, I7SIEMENS9780X_CHARSET, I8EBCDIC1144_CHARSET, I8EBCDIC280_CHARSET, IN8ISCII_CHARSET, IS8MACICELANDIC_CHARSET, IS8MACICELANDICS_CHARSET, IS8PC861_CHARSET, ISO_LATIN_1_CHARSET, IW7IS960_CHARSET, IW8EBCDIC1086_CHARSET, IW8EBCDIC424_CHARSET, IW8EBCDIC424S_CHARSET, IW8ISO8859P8_CHARSET, IW8MACHEBREW_CHARSET, IW8MACHEBREWS_CHARSET, IW8MSWIN1255_CHARSET, IW8PC1507_CHARSET, JA16DBCS_CHARSET, JA16EBCDIC930_CHARSET, JA16EUC_CHARSET, JA16EUCTILDE_CHARSET, JA16EUCYEN_CHARSET, JA16MACSJIS_CHARSET, JA16SJIS_CHARSET, JA16SJISTILDE_CHARSET, JA16SJISYEN_CHARSET, JA16TSTSET_CHARSET, JA16TSTSET2_CHARSET, JA16VMS_CHARSET, KO16DBCS_CHARSET, KO16KSC5601_CHARSET, KO16KSCCS_CHARSET, KO16MSWIN949_CHARSET, KO16TSTSET_CHARSET, LA8ISO6937_CHARSET, LA8PASSPORT_CHARSET, LT8MSWIN921_CHARSET, LT8PC772_CHARSET, LT8PC774_CHARSET, LV8PC1117_CHARSET, LV8PC8LR_CHARSET, LV8RST104090_CHARSET, N7SIEMENS9780X_CHARSET, N8PC865_CHARSET, NDK7DEC_CHARSET, NE8ISO8859P10_CHARSET, NEE8ISO8859P4_CHARSET, NL7DEC_CHARSET, RU8BESTA_CHARSET, RU8PC855_CHARSET, RU8PC866_CHARSET, S7DEC_CHARSET, S7SIEMENS9780X_CHARSET, S8BS2000_CHARSET, S8EBCDIC1143_CHARSET, S8EBCDIC278_CHARSET, SE8ISO8859P3_CHARSET, SF7ASCII_CHARSET, SF7DEC_CHARSET, TH8MACTHAI_CHARSET, TH8MACTHAIS_CHARSET, TH8TISASCII_CHARSET, TH8TISEBCDIC_CHARSET, TH8TISEBCDICS_CHARSET, TR7DEC_CHARSET, TR8DEC_CHARSET, TR8EBCDIC1026_CHARSET, TR8EBCDIC1026S_CHARSET, TR8MACTURKISH_CHARSET, TR8MACTURKISHS_CHARSET, TR8MSWIN1254_CHARSET, TR8PC857_CHARSET, UNICODE_1_CHARSET, UNICODE_2_CHARSET, US16TSTFIXED_CHARSET, US7ASCII_CHARSET, US8BS2000_CHARSET, US8ICL_CHARSET, US8NOOP_CHARSET, US8PC437_CHARSET, UTF8_CHARSET, UTFE_CHARSET, VN8MSWIN1258_CHARSET, VN8VN3_CHARSET, WE8BS2000_CHARSET, WE8BS2000E_CHARSET, WE8BS2000L5_CHARSET, WE8DEC_CHARSET, WE8DECTST_CHARSET, WE8DG_CHARSET, WE8EBCDIC1047_CHARSET, WE8EBCDIC1047E_CHARSET, WE8EBCDIC1140_CHARSET, WE8EBCDIC1140C_CHARSET, WE8EBCDIC1145_CHARSET, WE8EBCDIC1146_CHARSET, WE8EBCDIC1148_CHARSET, WE8EBCDIC1148C_CHARSET, WE8EBCDIC284_CHARSET, WE8EBCDIC285_CHARSET, WE8EBCDIC37_CHARSET, WE8EBCDIC37C_CHARSET, WE8EBCDIC500_CHARSET, WE8EBCDIC500C_CHARSET, WE8EBCDIC871_CHARSET, WE8EBCDIC924_CHARSET, WE8GCOS7_CHARSET, WE8HP_CHARSET, WE8ICL_CHARSET, WE8ISO8859P1_CHARSET, WE8ISO8859P15_CHARSET, WE8ISO8859P9_CHARSET, WE8ISOICLUK_CHARSET, WE8MACROMAN8_CHARSET, WE8MACROMAN8S_CHARSET, WE8MSWIN1252_CHARSET, WE8NCR4970_CHARSET, WE8NEXTSTEP_CHARSET, WE8PC850_CHARSET, WE8PC858_CHARSET, WE8PC860_CHARSET, WE8ROMAN8_CHARSET, YUG7ASCII_CHARSET, ZHS16CGB231280_CHARSET, ZHS16DBCS_CHARSET, ZHS16GBK_CHARSET, ZHS16MACCGB231280_CHARSET, ZHS32GB18030_CHARSET, ZHT16BIG5_CHARSET, ZHT16CCDC_CHARSET, ZHT16DBCS_CHARSET, ZHT16DBT_CHARSET, ZHT16HKSCS_CHARSET, ZHT16HKSCS31_CHARSET, ZHT16MSWIN950_CHARSET, ZHT32EUC_CHARSET, ZHT32SOPS_CHARSET, ZHT32TRIS_CHARSET
Modifier and Type | Method | Description |
---|---|---|
byte[] |
convert(String s) |
Convert a String to bytes in oracleId representation.
|
byte[] |
convert(CharacterSet from, byte[] source, int offset, int count) |
Converts bytes in some representation to oracleId representation.
|
byte[] |
convertWithReplacement(char[] chars, int charOffset, byte[] bytes, int byteOffset, int[] nchars) |
Similar to convertWithReplacement(String s); Instead of a string, a char[] + offset with a length stored in nchars[0] will be converted.
|
byte[] |
convertWithReplacement(String s) |
Convert a String to bytes in oracleId representation.
|
boolean |
isConvertibleFrom(CharacterSet source) |
Are conversions supported.
|
boolean |
isLossyFrom(CharacterSet from) |
A conversion looses information if the mapping is not invertible.
|
String |
toString(byte[] bytes, int offset, int count) |
Convert bytes in oracleId representation to a String.
|
String |
toStringWithReplacement(byte[] bytes, int offset, int count) |
Convert bytes in oracleId representation to a String.
|
AL16UTF16BytesToJavaChars, AL16UTF16BytesToString, AL32UTF8ToJavaChar, AL32UTF8ToString, AL32UTF8ToString, convertAL16UTF16BytesToJavaChars, convertAL16UTF16LEBytesToJavaChars, convertAL32UTF8BytesToJavaChars, convertAL32UTF8BytesToJavaChars, convertASCIIBytesToJavaChars, convertJavaCharsToAL16UTF16Bytes, convertJavaCharsToAL16UTF16LEBytes, convertJavaCharsToAL32UTF8Bytes, convertJavaCharsToASCIIBytes, convertJavaCharsToASCIIBytes, convertJavaCharsToISOLATIN1Bytes, convertJavaCharsToUTFBytes, convertUnshared, convertUTF32toUTF16, convertUTFBytesToJavaChars, convertUTFBytesToJavaChars, encodedByteLength, encodedByteLength, equals, getConnectionDuringExceptionHandling, getOracleId, hashCode, isUnicode, isUnknown, javaCharsToAL16UTF16Bytes, javaCharsToAL16UTF16LEBytes, make, string32UTF8Length, stringToAL16UTF16Bytes, stringToAL16UTF16LEBytes, stringToAL32UTF8, stringToASCII, stringToUTF, stringUTFLength, toString, UTFToJavaChar, UTFToJavaChar, UTFToJavaCharWithReplacement, UTFToString, UTFToString
public boolean isLossyFrom(CharacterSet from)
CharacterSet
isLossyFrom
in class CharacterSet
from
- a CharacterSet being tested for compatibility with this CharacterSet.public boolean isConvertibleFrom(CharacterSet source)
CharacterSet
isConvertibleFrom
in class CharacterSet
source
- a CharacterSet to inquire aboutpublic String toStringWithReplacement(byte[] bytes, int offset, int count)
CharacterSet
toStringWithReplacement
in class CharacterSet
bytes
- a array containing characters represented in this character set.offset
- the index of the first byte or the charcterscount
- the number of bytes to be converted.public String toString(byte[] bytes, int offset, int count) throws SQLException
CharacterSet
toString
in class CharacterSet
bytes
- a array containing characters represented in this character set.offset
- the index of the first byte or the charcterscount
- the number of bytes to be converted.SQLException
- when conversion is not supported.public byte[] convert(String s) throws SQLException
CharacterSet
convert
in class CharacterSet
SQLException
- when the oracleId does not support conversion from Unicode.public byte[] convertWithReplacement(String s)
CharacterSet
convertWithReplacement
in class CharacterSet
public byte[] convertWithReplacement(char[] chars, int charOffset, byte[] bytes, int byteOffset, int[] nchars)
CharacterSet
convertWithReplacement
in class CharacterSet
public byte[] convert(CharacterSet from, byte[] source, int offset, int count) throws SQLException
CharacterSet
convert
in class CharacterSet
from
- the character set of the input bytessource
- an array of bytes containing the bytes to be convertedoffset
- the index of the first byte to be convertedcount
- the number of bytes to be convertedSQLException
- if the conversion is not supported