public class PackageParser
extends org.apache.tika.parser.AbstractParser
User must have JCE Unlimited Strength jars installed for encryption to work with 7Z files (see: COMPRESS-299 and TIKA-1521). If the jars are not installed, an IOException will be thrown, and potentially wrapped in a TikaException.
| Constructor and Description |
|---|
PackageParser() |
| Modifier and Type | Method and Description |
|---|---|
Set<org.apache.tika.mime.MediaType> |
getSupportedTypes(org.apache.tika.parser.ParseContext context) |
protected static org.apache.tika.metadata.Metadata |
handleEntryMetadata(String name,
Date createAt,
Date modifiedAt,
Long size,
org.apache.tika.sax.XHTMLContentHandler xhtml) |
void |
parse(InputStream stream,
ContentHandler handler,
org.apache.tika.metadata.Metadata metadata,
org.apache.tika.parser.ParseContext context) |
public Set<org.apache.tika.mime.MediaType> getSupportedTypes(org.apache.tika.parser.ParseContext context)
public void parse(InputStream stream, ContentHandler handler, org.apache.tika.metadata.Metadata metadata, org.apache.tika.parser.ParseContext context) throws IOException, SAXException, org.apache.tika.exception.TikaException
IOExceptionSAXExceptionorg.apache.tika.exception.TikaExceptionprotected static org.apache.tika.metadata.Metadata handleEntryMetadata(String name, Date createAt, Date modifiedAt, Long size, org.apache.tika.sax.XHTMLContentHandler xhtml) throws SAXException, IOException, org.apache.tika.exception.TikaException
SAXExceptionIOExceptionorg.apache.tika.exception.TikaExceptionCopyright © 2007–2016 The Apache Software Foundation. All rights reserved.