Lines Matching refs:charsets
54 Set charsets = new HashSet();
55 addCharsets(charsets, "sun.nio.cs");
56 addCharsets(charsets, "sun.nio.cs.ext");
58 // remove the charsets that the API says are available
62 charsets.remove(((Charset) iter.next()).getClass());
65 // remove the known pseudo-charsets that serve only to implement
66 // other charsets, but shouldn't be known to the public
67 charsets.remove(Class.forName("sun.nio.cs.Unicode"));
68 charsets.remove(Class.forName("sun.nio.cs.ext.ISO2022"));
69 charsets.remove(Class.forName("sun.nio.cs.ext.ISO2022_CN_GB"));
70 charsets.remove(Class.forName("sun.nio.cs.ext.ISO2022_CN_CNS"));
72 // report the charsets that are implemented but not available
73 iter = charsets.iterator();
77 if (charsets.size() > 0) {
84 private static void addCharsets(Set charsets, final String packageName)
135 charsets.add(clazz);