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
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFileCharsetDetector
(File detectedFile) FileCharsetDetector
(InputStream detectedStream) -
Method Summary
Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Field Details
-
charset
-
found
private boolean found
-
-
Constructor Details
-
FileCharsetDetector
- Throws:
FileNotFoundException
IOException
-
FileCharsetDetector
- Throws:
FileNotFoundException
IOException
-
-
Method Details
-
getCharset
-
isFound
public boolean isFound()
-