org.apache.xml.serializer

Class 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.

Method Summary

static String
convertMime2JavaEncoding(String encoding)
Try the best we can to convert a Java encoding to a XML-style encoding.

Method Details

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 B) 2005 Apache XML Project. All Rights Reserved.