Uses of Class
net.sourceforge.jtds.jdbc.CharsetInfo
-
Packages that use CharsetInfo Package Description net.sourceforge.jtds.jdbc -
-
Uses of CharsetInfo in net.sourceforge.jtds.jdbc
Fields in net.sourceforge.jtds.jdbc declared as CharsetInfo Modifier and Type Field Description (package private) CharsetInfo
ColInfo. charsetInfo
Character set descriptor (if different from default)private CharsetInfo
ConnectionJDBC2. charsetInfo
Java charset for encoding.(package private) CharsetInfo
ParamInfo. charsetInfo
Character set descriptor (if different from default)private CharsetInfo
SharedSocket. charsetInfo
The character set to use for converting strings to/from bytes.private static CharsetInfo[]
CharsetInfo. sortToCharsetMap
Sort order to Java charset map.Methods in net.sourceforge.jtds.jdbc that return CharsetInfo Modifier and Type Method Description static CharsetInfo
CharsetInfo. getCharset(byte[] collation)
Retrieves theCharsetInfo
instance asociated with the specified collation.static CharsetInfo
CharsetInfo. getCharset(java.lang.String serverCharset)
Retrieves theCharsetInfo
instance asociated with the specified server charset.static CharsetInfo
CharsetInfo. getCharsetForLCID(int lcid)
Retrieves theCharsetInfo
instance asociated with the specified LCID.static CharsetInfo
CharsetInfo. getCharsetForSortOrder(int sortOrder)
Retrieves theCharsetInfo
instance asociated with the specified sort order.protected CharsetInfo
ConnectionJDBC2. getCharsetInfo()
Retrieve theCharsetInfo
instance used by this connection.(package private) CharsetInfo
SharedSocket. getCharsetInfo()
Retrieve the character set descriptor used to translate byte arrays to or from Strings.Methods in net.sourceforge.jtds.jdbc with parameters of type CharsetInfo Modifier and Type Method Description private void
ConnectionJDBC2. 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 aString
from the server response stream, translating it from abyte
array using the specified character set.(package private) java.lang.String
ResponseStream. readString(int len, CharsetInfo info)
Reads aString
from the server response stream, creating it from a translatedbyte
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.
-