org.apache.maven.archetype.common.util
Class FileCharsetDetector

java.lang.Object
  extended by org.codehaus.plexus.logging.AbstractLogEnabled
      extended by 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

Constructor Summary
FileCharsetDetector(File detectedFile)
           
FileCharsetDetector(InputStream detectedStream)
           
 
Method Summary
 String getCharset()
           
 boolean isFound()
           
 
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
 

Constructor Detail

FileCharsetDetector

public FileCharsetDetector(File detectedFile)
                    throws FileNotFoundException,
                           IOException
Throws:
FileNotFoundException
IOException

FileCharsetDetector

public FileCharsetDetector(InputStream detectedStream)
                    throws FileNotFoundException,
                           IOException
Throws:
FileNotFoundException
IOException
Method Detail

getCharset

public String getCharset()

isFound

public boolean isFound()


Copyright © 2007-2011 The Apache Software Foundation. All Rights Reserved.