org.apache.xml.serializer
Class Encodings
java.lang.Object
org.apache.xml.serializer.Encodings
public final class Encodings
- extends Object
Provides information about encodings. Depends on the Java runtime
to provides writers for the different encodings.
This class is only for internal use within Xalan. However, it is used directly
by org.apache.xalan.xsltc.compiler.Output.
Encodings
public Encodings()
convertMime2JavaEncoding
public static String convertMime2JavaEncoding(String encoding)
- Try the best we can to convert a Java encoding to a XML-style encoding.
This is not a public API.
- Parameters:
encoding
- non-null reference to encoding string, java style.
- Returns:
- ISO-style encoding string.
Copyright ? 2005 Apache XML Project. All Rights Reserved.