Class IWork13PackageParser
- java.lang.Object
-
- org.apache.tika.parser.iwork.iwana.IWork13PackageParser
-
- All Implemented Interfaces:
Serializable,org.apache.tika.parser.Parser
public class IWork13PackageParser extends Object implements org.apache.tika.parser.Parser
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIWork13PackageParser.IWork13DocumentType
-
Field Summary
Fields Modifier and Type Field Description static StringIWORK13_COMMON_ENTRYAll iWork 13 files contain this, so we can detect based on itstatic StringIWORK13_MAIN_ENTRYstatic org.apache.tika.metadata.PropertyIWORKS_BUILD_VERSION_HISTORYstatic org.apache.tika.metadata.PropertyIWORKS_DOC_IDstatic StringIWORKS_PREFIX
-
Constructor Summary
Constructors Constructor Description IWork13PackageParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<org.apache.tika.mime.MediaType>getSupportedTypes(org.apache.tika.parser.ParseContext context)voidparse(InputStream stream, ContentHandler handler, org.apache.tika.metadata.Metadata metadata, org.apache.tika.parser.ParseContext context)
-
-
-
Field Detail
-
IWORK13_COMMON_ENTRY
public static final String IWORK13_COMMON_ENTRY
All iWork 13 files contain this, so we can detect based on it- See Also:
- Constant Field Values
-
IWORK13_MAIN_ENTRY
public static final String IWORK13_MAIN_ENTRY
- See Also:
- Constant Field Values
-
IWORKS_PREFIX
public static final String IWORKS_PREFIX
- See Also:
- Constant Field Values
-
IWORKS_DOC_ID
public static final org.apache.tika.metadata.Property IWORKS_DOC_ID
-
IWORKS_BUILD_VERSION_HISTORY
public static final org.apache.tika.metadata.Property IWORKS_BUILD_VERSION_HISTORY
-
-
Method Detail
-
getSupportedTypes
public Set<org.apache.tika.mime.MediaType> getSupportedTypes(org.apache.tika.parser.ParseContext context)
- Specified by:
getSupportedTypesin interfaceorg.apache.tika.parser.Parser
-
parse
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
- Specified by:
parsein interfaceorg.apache.tika.parser.Parser- Throws:
IOExceptionSAXExceptionorg.apache.tika.exception.TikaException
-
-