public class IWorkPackageParser
extends org.apache.tika.parser.AbstractParser
ContentHandler that parsers the content.
Currently supported formats:
| Modifier and Type | Class and Description |
|---|---|
static class |
IWorkPackageParser.IWORKDocumentType |
| Modifier and Type | Field and Description |
|---|---|
static String |
IWORK_COMMON_ENTRY
All iWork files contain one of these, so we can detect based on it
|
static Set<String> |
IWORK_CONTENT_ENTRIES
Which files within an iWork file contain the actual content?
|
| Constructor and Description |
|---|
IWorkPackageParser() |
| Modifier and Type | Method and Description |
|---|---|
Set<org.apache.tika.mime.MediaType> |
getSupportedTypes(org.apache.tika.parser.ParseContext context) |
void |
parse(InputStream stream,
ContentHandler handler,
org.apache.tika.metadata.Metadata metadata,
org.apache.tika.parser.ParseContext context) |
public static final Set<String> IWORK_CONTENT_ENTRIES
public static final String IWORK_COMMON_ENTRY
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.TikaExceptionCopyright © 2007-2015 The Apache Software Foundation. All Rights Reserved.