Class FileCharsetDetector
- java.lang.Object
-
- org.codehaus.plexus.logging.AbstractLogEnabled
-
- org.apache.maven.archetype.common.util.FileCharsetDetector
-
- All Implemented Interfaces:
org.codehaus.plexus.logging.LogEnabled
public class FileCharsetDetector extends org.codehaus.plexus.logging.AbstractLogEnabled
-
-
Constructor Summary
Constructors Constructor Description FileCharsetDetector(java.io.File detectedFile)
FileCharsetDetector(java.io.InputStream detectedStream)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCharset()
boolean
isFound()
-
-
-
Constructor Detail
-
FileCharsetDetector
public FileCharsetDetector(java.io.File detectedFile) throws java.io.FileNotFoundException, java.io.IOException
- Throws:
java.io.FileNotFoundException
java.io.IOException
-
FileCharsetDetector
public FileCharsetDetector(java.io.InputStream detectedStream) throws java.io.FileNotFoundException, java.io.IOException
- Throws:
java.io.FileNotFoundException
java.io.IOException
-
-