public class ZipContainerDetector extends Object implements org.apache.tika.detect.Detector
| Constructor and Description |
|---|
ZipContainerDetector() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.tika.mime.MediaType |
detect(InputStream input,
org.apache.tika.metadata.Metadata metadata) |
static org.apache.tika.mime.MediaType |
detectOfficeOpenXML(org.apache.poi.openxml4j.opc.OPCPackage pkg)
Detects the type of an OfficeOpenXML (OOXML) file from
opened Package
|
public org.apache.tika.mime.MediaType detect(InputStream input, org.apache.tika.metadata.Metadata metadata) throws IOException
detect in interface org.apache.tika.detect.DetectorIOExceptionpublic static org.apache.tika.mime.MediaType detectOfficeOpenXML(org.apache.poi.openxml4j.opc.OPCPackage pkg)
Copyright © 2007-2015 The Apache Software Foundation. All Rights Reserved.