Package org.apache.tika.parser.microsoft
Class MSOwnerFileParser
java.lang.Object
org.apache.tika.parser.microsoft.MSOwnerFileParser
- All Implemented Interfaces:
Serializable,org.apache.tika.parser.Parser
Parser for temporary MSOFfice files.
This currently only extracts the owner's name.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSet<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) Extracts owner from MS temp file
-
Constructor Details
-
MSOwnerFileParser
public MSOwnerFileParser()
-
-
Method Details
-
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 Extracts owner from MS temp file- Specified by:
parsein interfaceorg.apache.tika.parser.Parser- Throws:
IOExceptionSAXExceptionorg.apache.tika.exception.TikaException
-