org.apache.batik.util

Class EncodingUtilities

public class EncodingUtilities extends Object

This class contains utility functions to manage encodings.
Field Summary
protected static MapENCODINGS
The standard to Java encoding table.
Constructor Summary
protected EncodingUtilities()
This class does not need to be instantiated.
Method Summary
static StringjavaEncoding(String encoding)
Returns the Java encoding string mapped with the given standard encoding string.

Field Detail

ENCODINGS

protected static final Map ENCODINGS
The standard to Java encoding table.

Constructor Detail

EncodingUtilities

protected EncodingUtilities()
This class does not need to be instantiated.

Method Detail

javaEncoding

public static String javaEncoding(String encoding)
Returns the Java encoding string mapped with the given standard encoding string.

Returns: null if no mapping was found.

Copyright B) 2008 Apache Software Foundation. All Rights Reserved.