org.apache.tika.detect
Class ZipContainerDetector

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

public class ZipContainerDetector
extends java.lang.Object
implements 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
 MediaType detect(java.io.InputStream input, 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 MediaType detect(java.io.InputStream input,
                        Metadata metadata)
                 throws java.io.IOException
Specified by:
detect in interface Detector
Throws:
java.io.IOException


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