org.apache.tika.parser.pkg
Class ZipContainerDetector
java.lang.Object
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
|
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 |
ZipContainerDetector
public ZipContainerDetector()
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.