public static String getJavaCharset ( final int id ) { Entry entry = getEntry ( id ) ; if ( entry != null ) { if ( entry . javaCharset != null ) { return entry . javaCharset ; } else { logger . warn ( "Unknown java charset for: id = " + id + ", name = " + entry . mysqlCharset + ", coll = " + entry . mysqlCollation ) ; return null ; } } else { logger . warn ( "Unexpect mysql charset: " + id ) ; return null ; } }
Return converted charset name for java .