| An interface to detect a reasonable encoding from some bytes at the
beginning of a file. To offer your own EncodingDetector, implement this
interface and define a service in your services.xml file.
For example:
<SERVICE CLASS="org.gjt.sp.jedit.io.EncodingDetector" NAME="XML-PI">
new XMLEncodingDetector();
</SERVICE>
since: 4.3pre10 author: Kazutoshi Satoda |