|
Oracle10g JDBC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.sql.CharacterSet
oracle.sql.CharacterSetWithConverter
This is an abstract base class that all character sets that use CharacterConverter are based on.
| Field Summary | |
static oracle.sql.converter.CharacterConverterFactory |
ccFactory
|
| Method Summary | |
byte[] |
convert(CharacterSet from,
byte[] source,
int offset,
int count)
Converts bytes in some representation to oracleId representation. |
byte[] |
convert(java.lang.String s)
Convert a String to bytes in oracleId representation. |
byte[] |
convertWithReplacement(java.lang.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. |
java.lang.String |
toString(byte[] bytes,
int offset,
int count)
Convert bytes in oracleId representation to a String. |
java.lang.String |
toStringWithReplacement(byte[] bytes,
int offset,
int count)
Convert bytes in oracleId representation to a String. |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static oracle.sql.converter.CharacterConverterFactory ccFactory
| Method Detail |
public boolean isLossyFrom(CharacterSet from)
CharacterSet
isLossyFrom in class CharacterSetfrom - a CharacterSet being tested for compatibility with this
CharacterSet.
public boolean isConvertibleFrom(CharacterSet source)
CharacterSet
isConvertibleFrom in class CharacterSetsource - a CharacterSet to inquire about
public java.lang.String toStringWithReplacement(byte[] bytes,
int offset,
int count)
CharacterSet
toStringWithReplacement in class CharacterSetbytes - 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 java.lang.String toString(byte[] bytes,
int offset,
int count)
throws java.sql.SQLException
CharacterSet
toString in class CharacterSetbytes - 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.
java.sql.SQLException - when conversion is not supported.
public byte[] convert(java.lang.String s)
throws java.sql.SQLException
CharacterSet
convert in class CharacterSetjava.sql.SQLException - when the oracleId does not support conversion from
Unicode.public byte[] convertWithReplacement(java.lang.String s)
CharacterSet
convertWithReplacement in class CharacterSet
public byte[] convert(CharacterSet from,
byte[] source,
int offset,
int count)
throws java.sql.SQLException
CharacterSet
convert in class CharacterSetfrom - 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 converted
java.sql.SQLException - if the conversion is not supported
|
Oracle10g JDBC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||