org.apache.tika.parser.pkg
Class ZipContainerDetector

java.lang.Object
  extended by org.apache.tika.parser.pkg.ZipContainerDetector
All Implemented Interfaces:
Serializable, org.apache.tika.detect.Detector

public class ZipContainerDetector
extends Object
implements org.apache.tika.detect.Detector

A detector that works on a Zip document to figure out exactly what the file is

See Also:
Serialized Form

Constructor Summary
ZipContainerDetector()
           
 
Method Summary
 org.apache.tika.mime.MediaType 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

ZipContainerDetector

public ZipContainerDetector()
Method Detail

detect

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


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