Class IWorkDetector
java.lang.Object
org.apache.tika.detect.apple.IWorkDetector
- All Implemented Interfaces:
Serializable, org.apache.tika.detect.zip.ZipContainerDetector
public class IWorkDetector
extends Object
implements org.apache.tika.detect.zip.ZipContainerDetector
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.tika.mime.MediaTypedetect(org.apache.commons.compress.archivers.zip.ZipFile zipFile, org.apache.tika.io.TikaInputStream tis) org.apache.tika.mime.MediaTypestreamingDetectFinal(org.apache.tika.detect.zip.StreamingDetectContext detectContext) org.apache.tika.mime.MediaTypestreamingDetectUpdate(org.apache.commons.compress.archivers.zip.ZipArchiveEntry zae, InputStream zis, org.apache.tika.detect.zip.StreamingDetectContext detectContext)
-
Constructor Details
-
IWorkDetector
public IWorkDetector()
-
-
Method Details
-
detect
public org.apache.tika.mime.MediaType detect(org.apache.commons.compress.archivers.zip.ZipFile zipFile, org.apache.tika.io.TikaInputStream tis) throws IOException - Specified by:
detectin interfaceorg.apache.tika.detect.zip.ZipContainerDetector- Throws:
IOException
-
streamingDetectUpdate
public org.apache.tika.mime.MediaType streamingDetectUpdate(org.apache.commons.compress.archivers.zip.ZipArchiveEntry zae, InputStream zis, org.apache.tika.detect.zip.StreamingDetectContext detectContext) - Specified by:
streamingDetectUpdatein interfaceorg.apache.tika.detect.zip.ZipContainerDetector
-
streamingDetectFinal
public org.apache.tika.mime.MediaType streamingDetectFinal(org.apache.tika.detect.zip.StreamingDetectContext detectContext) - Specified by:
streamingDetectFinalin interfaceorg.apache.tika.detect.zip.ZipContainerDetector
-