public interface EncodingDetector
<SERVICE CLASS="org.gjt.sp.jedit.io.EncodingDetector" NAME="XML-PI">
        new XMLEncodingDetector();
</SERVICE> | Modifier and Type | Method and Description | 
|---|---|
| java.lang.String | detectEncoding(java.io.InputStream sample)Returns the name of a detected encoding for the bytes in sample. |