Lines Matching refs:Encodings
28 * com.sun.org.apache.xml.internal.serializer.Encodings
31 * Also checks that the Encodings.properties resource file
39 import com.sun.org.apache.xml.internal.serializer.Encodings;
59 private static final String ENCODINGS_FILE = "com/sun/org/apache/xml/internal/serializer/Encodings.properties";
333 // Now we're going to verify that Encodings.java has done its job
334 // correctly. We're going to ask Encodings to convert java names to mime
338 // We're also going to verify that Encodings has recorded the preferred
341 Method m = Encodings.class.getDeclaredMethod("getMimeEncoding", String.class);
372 final String jName = Encodings.convertMime2JavaEncoding(xml);
377 throw new Error("Unrecognized charset returned by Encodings.convertMime2JavaEncoding(\""+xml+"\")", x);
379 System.out.println("Encodings.convertMime2JavaEncoding(\""+xml+"\") = \""+jName+"\" ("+jCharsetName+")");
388 System.out.println("Encodings.getMimeEncoding(\""+javaName+"\") = \""+mime+"\"");