public class IWorkDetector extends Object implements org.apache.tika.detect.zip.ZipContainerDetector
| Constructor and Description |
|---|
IWorkDetector() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.tika.mime.MediaType |
detect(org.apache.commons.compress.archivers.zip.ZipFile zipFile,
org.apache.tika.io.TikaInputStream tis) |
org.apache.tika.mime.MediaType |
streamingDetectFinal(org.apache.tika.detect.zip.StreamingDetectContext detectContext) |
org.apache.tika.mime.MediaType |
streamingDetectUpdate(org.apache.commons.compress.archivers.zip.ZipArchiveEntry zae,
InputStream zis,
org.apache.tika.detect.zip.StreamingDetectContext detectContext) |
public org.apache.tika.mime.MediaType detect(org.apache.commons.compress.archivers.zip.ZipFile zipFile,
org.apache.tika.io.TikaInputStream tis)
throws IOException
detect in interface org.apache.tika.detect.zip.ZipContainerDetectorIOExceptionpublic org.apache.tika.mime.MediaType streamingDetectUpdate(org.apache.commons.compress.archivers.zip.ZipArchiveEntry zae,
InputStream zis,
org.apache.tika.detect.zip.StreamingDetectContext detectContext)
streamingDetectUpdate in interface org.apache.tika.detect.zip.ZipContainerDetectorpublic org.apache.tika.mime.MediaType streamingDetectFinal(org.apache.tika.detect.zip.StreamingDetectContext detectContext)
streamingDetectFinal in interface org.apache.tika.detect.zip.ZipContainerDetectorCopyright © 2007–2025 The Apache Software Foundation. All rights reserved.