public static int getMaxBytes(String charset) { CharsetEntry entry = _charsetEntryMap.get(charset); if (entry != null) { return(entry.getMaxBytes()); } else { return(1); } }
public static string getDescription(String charset) { CharsetEntry entry = _charsetEntryMap.get(charset); if (entry != null) { return(entry.getDescription()); } else { return(""); } }