public class CharsetDetector
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected org.mozilla.intl.chardet.nsDetector |
det |
protected java.lang.String |
foundCharset |
static java.lang.String |
REVISION |
Constructor and Description |
---|
CharsetDetector() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
detect(java.io.File file)
Detects and returns the probable charset of the given File.
|
java.lang.String |
detect(java.io.InputStream is)
Detects and returns the probable charset of the given InputStream.
|
public static final java.lang.String REVISION
protected final org.mozilla.intl.chardet.nsDetector det
protected java.lang.String foundCharset
public java.lang.String detect(java.io.File file)
public java.lang.String detect(java.io.InputStream is)
Copyright © 2001-2017 Jalios SA. All Rights Reserved.