org.enhydra.apache.xml.serialize
Class Encodings

java.lang.Object
  |
  +--org.enhydra.apache.xml.serialize.Encodings

public class Encodings
extends Object

Provides information about encodings. Depends on the Java runtime to provides writers for the different encodings, but can be used to override encoding names and provide the last printable character for each encoding.

Version:
$Id: Encodings.java,v 1.2 2005/01/26 08:28:45 jkjome Exp $
Author:
Assaf Arkin

Field Summary
(package private) static int DefaultLastPrintable
          The last printable character for unknown encodings.
(package private) static String JIS_DANGER_CHARS
           
 
Constructor Summary
Encodings()
           
 
Method Summary
(package private) static EncodingInfo getEncodingInfo(String encoding)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DefaultLastPrintable

static final int DefaultLastPrintable
The last printable character for unknown encodings.

JIS_DANGER_CHARS

static final String JIS_DANGER_CHARS
Constructor Detail

Encodings

public Encodings()
Method Detail

getEncodingInfo

static EncodingInfo getEncodingInfo(String encoding)
Parameters:
encoding - a MIME charset name, or null.


Copyright © 1999 The Apache Software Foundation. All Rights reserved.