|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.archive.util.ms.Cp1252
public class Cp1252
A fast implementation of code page 1252. This is used to convert bytes to characters in .doc files that don't use unicode.
The Java Charset APIs seemed like overkill for these translations, since 1 byte always translates into 1 character.
Method Summary | |
---|---|
static char |
decode(int b)
Returns the Unicode character for the given Cp1252 byte. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static char decode(int b)
b
- an unsigned byte from 0 to 255
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |