org.apache.tika.parser.txt
Class UniversalEncodingDetector

java.lang.Object
  extended by org.apache.tika.parser.txt.UniversalEncodingDetector
All Implemented Interfaces:
org.apache.tika.detect.EncodingDetector

public class UniversalEncodingDetector
extends Object
implements org.apache.tika.detect.EncodingDetector


Constructor Summary
UniversalEncodingDetector()
           
 
Method Summary
 Charset detect(InputStream input, org.apache.tika.metadata.Metadata metadata)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UniversalEncodingDetector

public UniversalEncodingDetector()
Method Detail

detect

public Charset detect(InputStream input,
                      org.apache.tika.metadata.Metadata metadata)
               throws IOException
Specified by:
detect in interface org.apache.tika.detect.EncodingDetector
Throws:
IOException


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