public class StreamingZipContainerDetector extends Object implements org.apache.tika.detect.Detector
| Constructor and Description |
|---|
StreamingZipContainerDetector(int markLimit) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.tika.mime.MediaType |
detect(InputStream is,
org.apache.tika.metadata.Metadata metadata) |
static org.apache.tika.mime.MediaType |
parseOOXMLContentTypes(InputStream is) |
static Set<String> |
parseOOXMLRels(InputStream is) |
public StreamingZipContainerDetector(int markLimit)
public org.apache.tika.mime.MediaType detect(InputStream is, org.apache.tika.metadata.Metadata metadata) throws IOException
detect in interface org.apache.tika.detect.Detectoris - the inputstream is wrapped in a boundedInputStream to guarantee
this doesn't stream beyond markLimitIOExceptionpublic static Set<String> parseOOXMLRels(InputStream is)
public static org.apache.tika.mime.MediaType parseOOXMLContentTypes(InputStream is)
Copyright © 2007–2022 The Apache Software Foundation. All rights reserved.