public class FileCharsetDetector
extends org.codehaus.plexus.logging.AbstractLogEnabled
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
charset |
private boolean |
found |
| Constructor and Description |
|---|
FileCharsetDetector(java.io.File detectedFile) |
FileCharsetDetector(java.io.InputStream detectedStream) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCharset() |
boolean |
isFound() |
public FileCharsetDetector(java.io.File detectedFile)
throws java.io.FileNotFoundException,
java.io.IOException
java.io.FileNotFoundExceptionjava.io.IOExceptionpublic FileCharsetDetector(java.io.InputStream detectedStream)
throws java.io.FileNotFoundException,
java.io.IOException
java.io.FileNotFoundExceptionjava.io.IOException