|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tika.parser.DelegatingParser org.apache.tika.parser.pkg.PackageParser org.apache.tika.parser.pkg.ZipParser
public class ZipParser
Zip File Parser.
Constructor Summary | |
---|---|
ZipParser()
|
Method Summary | |
---|---|
void |
parse(java.io.InputStream stream,
org.xml.sax.ContentHandler handler,
Metadata metadata,
ParseContext context)
Parses the given stream as a Zip file. |
Methods inherited from class org.apache.tika.parser.pkg.PackageParser |
---|
parseArchive |
Methods inherited from class org.apache.tika.parser.DelegatingParser |
---|
parse |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ZipParser()
Method Detail |
---|
public void parse(java.io.InputStream stream, org.xml.sax.ContentHandler handler, Metadata metadata, ParseContext context) throws java.io.IOException, TikaException, org.xml.sax.SAXException
parse
in interface Parser
parse
in class DelegatingParser
stream
- the document stream (input)handler
- handler for the XHTML SAX events (output)metadata
- document metadata (input and output)context
- parse context
java.io.IOException
- if the document stream could not be read
TikaException
- if the document could not be parsed
org.xml.sax.SAXException
- if the SAX events could not be processed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |