|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree.commons.utils.EncodingGuesser
public class EncodingGuesser
EncodingGuesser
Constructor Summary | |
---|---|
EncodingGuesser()
|
Method Summary | |
---|---|
static java.nio.charset.Charset |
guess(byte[] bs)
|
static java.nio.charset.Charset |
guess(java.io.InputStream in)
|
static java.nio.charset.Charset |
guess(java.util.Map<java.lang.Integer,java.lang.Integer> map)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EncodingGuesser()
Method Detail |
---|
public static java.nio.charset.Charset guess(java.util.Map<java.lang.Integer,java.lang.Integer> map) throws java.io.UnsupportedEncodingException
map
-
java.io.UnsupportedEncodingException
- if you don't have i18n.jar from Sun's JDK, I guesspublic static java.nio.charset.Charset guess(java.io.InputStream in) throws java.io.IOException
in
-
java.io.IOException
java.io.UnsupportedEncodingException
- if you don't have i18n.jar from Sun's JDK, I guesspublic static java.nio.charset.Charset guess(byte[] bs) throws java.io.UnsupportedEncodingException
bs
-
java.io.UnsupportedEncodingException
- if you don't have i18n.jar from Sun's JDK, I guess
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |