org.apache.tika.parser.microsoft
Class CustomOfficeParser
java.lang.Object
org.apache.tika.parser.microsoft.CustomOfficeParser
- All Implemented Interfaces:
- java.io.Serializable, org.apache.tika.parser.Parser
public class CustomOfficeParser
- extends java.lang.Object
- implements org.apache.tika.parser.Parser
Defines a Microsoft document content extractor.
- See Also:
- Serialized Form
|
Method Summary |
java.util.Set<org.apache.tika.mime.MediaType> |
getSupportedTypes(org.apache.tika.parser.ParseContext context)
|
void |
parse(java.io.InputStream stream,
org.xml.sax.ContentHandler handler,
org.apache.tika.metadata.Metadata metadata)
Deprecated. This method will be removed in Apache Tika 1.0. |
void |
parse(java.io.InputStream stream,
org.xml.sax.ContentHandler handler,
org.apache.tika.metadata.Metadata metadata,
org.apache.tika.parser.ParseContext context)
Extracts properties and text from an MS Document input stream |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CustomOfficeParser
public CustomOfficeParser()
getSupportedTypes
public java.util.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(java.io.InputStream stream,
org.xml.sax.ContentHandler handler,
org.apache.tika.metadata.Metadata metadata,
org.apache.tika.parser.ParseContext context)
throws java.io.IOException,
org.xml.sax.SAXException,
org.apache.tika.exception.TikaException
- Extracts properties and text from an MS Document input stream
- Specified by:
parse in interface org.apache.tika.parser.Parser
- Throws:
java.io.IOException
org.xml.sax.SAXException
org.apache.tika.exception.TikaException
parse
public void parse(java.io.InputStream stream,
org.xml.sax.ContentHandler handler,
org.apache.tika.metadata.Metadata metadata)
throws java.io.IOException,
org.xml.sax.SAXException,
org.apache.tika.exception.TikaException
- Deprecated. This method will be removed in Apache Tika 1.0.
- Specified by:
parse in interface org.apache.tika.parser.Parser
- Throws:
java.io.IOException
org.xml.sax.SAXException
org.apache.tika.exception.TikaException
Copyright © 2004-2011. All Rights Reserved.