Lines Matching defs:Charset
70 * <h4>Charset names</h4>
103 * is not a legal charset name. Charset names are not case-sensitive; that is,
104 * case is always ignored when comparing charset names. Charset names
106 * href="http://www.ietf.org/rfc/rfc2278.txt"><i>RFC 2278: IANA Charset
127 * href="http://www.iana.org/assignments/character-sets"><i>IANA Charset
154 * <tr><th><p align="left">Charset</p></th><th><p align="left">Description</p></th></tr>
276 public abstract class Charset
277 implements Comparable<Charset>
333 private static void cache(String charsetName, Charset cs) {
391 private static Charset lookupViaProviders(final String charsetName) {
411 new PrivilegedAction<Charset>() {
412 public Charset run() {
415 Charset cs = cp.charsetForName(charsetName);
453 private static Charset lookupExtendedCharset(String charsetName) {
465 private static Charset lookup(String charsetName) {
471 return (Charset)a[1];
472 // We expect most programs to use one Charset repeatedly.
478 private static Charset lookup2(String charsetName) {
483 return (Charset)a[1];
486 Charset cs;
539 public static Charset forName(String charsetName) {
540 Charset cs = lookup(charsetName);
549 private static void put(Iterator<Charset> i, Map<String,Charset> m) {
551 Charset cs = i.next();
583 public static SortedMap<String,Charset> availableCharsets() {
585 new PrivilegedAction<SortedMap<String,Charset>>() {
586 public SortedMap<String,Charset> run() {
587 TreeMap<String,Charset> m =
588 new TreeMap<String,Charset>(
600 private static volatile Charset defaultCharset;
613 public static Charset defaultCharset() {
615 synchronized (Charset.class) {
618 Charset cs = lookup(csn);
648 protected Charset(String canonicalName, String[] aliases) {
697 * href="http://www.iana.org/assignments/character-sets">IANA Charset
747 public abstract boolean contains(Charset cs);
884 public final int compareTo(Charset that) {
907 if (!(ob instanceof Charset))
911 return name.equals(((Charset)ob).name());