| |
|
| java.lang.Object com.mysql.jdbc.CharsetMapping
CharsetMapping | public class CharsetMapping (Code) | | Mapping between MySQL charset names and Java charset names. I've investigated
placing these in a .properties file, but unfortunately under most appservers
this complicates configuration because the security policy needs to be
changed by the user to allow the driver to read them :(
author: Mark Matthews |
INDEX_TO_CHARSET | final public static String[] INDEX_TO_CHARSET(Code) | | Map of MySQL-4.1 charset indexes to Java encoding names
|
INDEX_TO_COLLATION | final public static String[] INDEX_TO_COLLATION(Code) | | Map of MySQL-4.1 collation index to collation names
|
STATIC_CHARSET_TO_NUM_BYTES_MAP | final public static Map STATIC_CHARSET_TO_NUM_BYTES_MAP(Code) | | |
getCharacterEncodingForErrorMessages | final static String getCharacterEncodingForErrorMessages(ConnectionImpl conn) throws SQLException(Code) | | Returns the character encoding for error messages returned from the
server. Doesn't return useful values other than Cp1252 until the driver
has gone through initialization phase and determined server configuration,
as not enough information is available to make an intelligent decision
until then.
Parameters: conn - the connection to the MySQL server the Java encoding name that error messages use throws: SQLException - if determination of the character encoding fails |
getCharsetIndexForMysqlEncodingName | public static int getCharsetIndexForMysqlEncodingName(String name)(Code) | | |
getNumberOfCharsetsConfigured | final static int getNumberOfCharsetsConfigured()(Code) | | |
isAliasForSjis | final static boolean isAliasForSjis(String encoding)(Code) | | |
isMultibyteCharset | final static boolean isMultibyteCharset(String javaEncodingName)(Code) | | |
|
|
|