|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.w3c.tidy.EncodingNameMapper
public abstract class EncodingNameMapper
Maps between Java and IANA character encoding names. Also handles encoding alias used in tidy c.
http://www.iana.org/assignments/character-sets
Constructor Summary | |
---|---|
EncodingNameMapper()
|
Method Summary | |
---|---|
static java.lang.String |
toIana(java.lang.String encoding)
Convert a Java character encoding name to its IANA equivalent. |
static java.lang.String |
toJava(java.lang.String encoding)
Converts an encoding name to the standard java name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EncodingNameMapper()
Method Detail |
---|
public static java.lang.String toIana(java.lang.String encoding)
encoding
- java encoding name or alias
public static java.lang.String toJava(java.lang.String encoding)
encoding
- IANA encoding name or alias
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |