|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.zxing.common.StringUtils
public final class StringUtils
Common string-related functions.
Field Summary | |
---|---|
static java.lang.String |
SHIFT_JIS
|
Method Summary | |
---|---|
static java.lang.String |
guessEncoding(byte[] bytes,
java.util.Hashtable hints)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String SHIFT_JIS
Method Detail |
---|
public static java.lang.String guessEncoding(byte[] bytes, java.util.Hashtable hints)
bytes
- bytes encoding a string, whose encoding should be guessedhints
- decode hints if applicable
SHIFT_JIS
, UTF8
, ISO88591
, or the platform
default encoding if none of these can possibly be correct
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |