public class StreamingZipContainerDetector extends DefaultZipContainerDetector
DefaultZipContainerDetector,
this will never try to open the File as a ZipFile; this relies solely
on streaming detection.| Constructor and Description |
|---|
StreamingZipContainerDetector() |
StreamingZipContainerDetector(List<ZipContainerDetector> zipDetectors) |
StreamingZipContainerDetector(org.apache.tika.config.ServiceLoader loader) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.tika.mime.MediaType |
detect(InputStream input,
org.apache.tika.metadata.Metadata metadata) |
setMarkLimitpublic StreamingZipContainerDetector()
public StreamingZipContainerDetector(org.apache.tika.config.ServiceLoader loader)
public StreamingZipContainerDetector(List<ZipContainerDetector> zipDetectors)
public org.apache.tika.mime.MediaType detect(InputStream input, org.apache.tika.metadata.Metadata metadata) throws IOException
detect in interface org.apache.tika.detect.Detectordetect in class DefaultZipContainerDetectorIOExceptionCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.