org.apache.maven.archetype.common.util
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
- Author:
- rafale
Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileCharsetDetector
public FileCharsetDetector(File detectedFile)
throws FileNotFoundException,
IOException
- Throws:
FileNotFoundException
IOException
FileCharsetDetector
public FileCharsetDetector(InputStream detectedStream)
throws FileNotFoundException,
IOException
- Throws:
FileNotFoundException
IOException
getCharset
public String getCharset()
isFound
public boolean isFound()
Copyright © 2007-2011 The Apache Software Foundation. All Rights Reserved.