Class 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
    • 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
      • 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
    • Constructor Detail

      • IWork13PackageParser

        public IWork13PackageParser()
    • Method Detail

      • getSupportedTypes

        public Set<org.apache.tika.mime.MediaType> getSupportedTypes​(org.apache.tika.parser.ParseContext context)
        Specified by:
        getSupportedTypes in interface org.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:
        parse in interface org.apache.tika.parser.Parser
        Throws:
        IOException
        SAXException
        org.apache.tika.exception.TikaException