|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.internal.xtend.util.EncodingDetector
public class EncodingDetector
This class helps detecting the encoding of some resource by scanning the first bytes from it.
Constructor Summary | |
---|---|
EncodingDetector()
|
Method Summary | |
---|---|
static java.nio.charset.Charset |
detectEncoding(java.io.BufferedInputStream in)
|
static java.nio.charset.Charset |
detectEncoding(byte[] sample)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EncodingDetector()
Method Detail |
---|
public static java.nio.charset.Charset detectEncoding(java.io.BufferedInputStream in) throws java.io.IOException
java.io.IOException
public static java.nio.charset.Charset detectEncoding(byte[] sample)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |