Package | Description |
---|---|
net.sourceforge.jtds.jdbc |
Modifier and Type | Field and Description |
---|---|
private CharsetInfo |
SharedSocket.charsetInfo
The character set to use for converting strings to/from bytes.
|
(package private) CharsetInfo |
ParamInfo.charsetInfo
Character set descriptor (if different from default)
|
private CharsetInfo |
JtdsConnection.charsetInfo
Java charset for encoding.
|
(package private) CharsetInfo |
ColInfo.charsetInfo
Character set descriptor (if different from default)
|
private static CharsetInfo[] |
CharsetInfo.sortToCharsetMap
Sort order to Java charset map.
|
Modifier and Type | Method and Description |
---|---|
static CharsetInfo |
CharsetInfo.getCharset(byte[] collation)
Retrieves the
CharsetInfo instance asociated with the
specified collation. |
static CharsetInfo |
CharsetInfo.getCharset(java.lang.String serverCharset)
Retrieves the
CharsetInfo instance asociated with the
specified server charset. |
static CharsetInfo |
CharsetInfo.getCharsetForLCID(int lcid)
Retrieves the
CharsetInfo instance asociated with the
specified LCID. |
static CharsetInfo |
CharsetInfo.getCharsetForSortOrder(int sortOrder)
Retrieves the
CharsetInfo instance asociated with the
specified sort order. |
(package private) CharsetInfo |
SharedSocket.getCharsetInfo()
Retrieve the character set descriptor used to translate byte arrays to
or from Strings.
|
protected CharsetInfo |
JtdsConnection.getCharsetInfo()
Retrieve the
CharsetInfo instance used by this connection. |
Modifier and Type | Method and Description |
---|---|
private void |
JtdsConnection.loadCharset(CharsetInfo ci,
java.lang.String ref)
Load the Java charset to match the server character set.
|
(package private) java.lang.String |
ResponseStream.readNonUnicodeString(int len,
CharsetInfo charsetInfo)
Reads a
String from the server response stream, translating
it from a byte array using the specified character set. |
(package private) java.lang.String |
ResponseStream.readString(int len,
CharsetInfo info)
Reads a
String from the server response stream, creating
it from a translated byte array. |
(package private) void |
SharedSocket.setCharsetInfo(CharsetInfo charsetInfo)
Set the character set descriptor to be used to translate byte arrays to
or from Strings.
|
(package private) static void |
TdsData.writeParam(RequestStream out,
CharsetInfo charsetInfo,
byte[] collation,
ParamInfo pi)
Write a parameter to the server request stream.
|
(package private) static void |
TdsData.writeTds5Param(RequestStream out,
CharsetInfo charsetInfo,
ParamInfo pi)
Write the actual TDS 5 parameter data.
|
Generated on June 8 2013