public class CharacterSetDetector extends java.lang.Object implements nsICharsetDetectionObserver
Constructor and Description |
---|
CharacterSetDetector() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
detect(java.io.File oFile,
java.lang.String sDefaultCharset) |
java.lang.String |
detect(java.io.InputStream oInStrm,
java.lang.String sDefaultCharset) |
java.lang.String |
detect(java.lang.String sFile,
java.lang.String sDefaultCharset) |
void |
Notify(java.lang.String sCharSet) |
public void Notify(java.lang.String sCharSet)
Notify
in interface nsICharsetDetectionObserver
public java.lang.String detect(java.io.InputStream oInStrm, java.lang.String sDefaultCharset) throws java.io.IOException
java.io.IOException
public java.lang.String detect(java.io.File oFile, java.lang.String sDefaultCharset) throws java.io.IOException
java.io.IOException
public java.lang.String detect(java.lang.String sFile, java.lang.String sDefaultCharset) throws java.io.IOException
java.io.IOException