Package org.apache.tika.parser.apple
Class PListParser
java.lang.Object
org.apache.tika.parser.apple.PListParser
- All Implemented Interfaces:
Serializable,org.apache.tika.parser.Parser
Parser for Apple's plist and bplist. This is a wrapper around
com.googlecode.plist:dd-plist
As of 1.25, Tika does not have detection for the text based plist, so those files will not be directed to this parser
- Since:
- 1.25
- 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)
-
Constructor Details
-
PListParser
public PListParser()
-
-
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 - Specified by:
parsein interfaceorg.apache.tika.parser.Parser- Throws:
IOExceptionSAXExceptionorg.apache.tika.exception.TikaException
-