org.apache.tika.parser.pkg
Class CpioParser

java.lang.Object
  extended by org.apache.tika.parser.DelegatingParser
      extended by org.apache.tika.parser.pkg.PackageParser
          extended by org.apache.tika.parser.pkg.CpioParser
All Implemented Interfaces:
Parser

public class CpioParser
extends PackageParser

CPIO parser.


Constructor Summary
CpioParser()
           
 
Method Summary
 void parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context)
          Parses the given stream as a cpio 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

CpioParser

public CpioParser()
Method Detail

parse

public void parse(InputStream stream,
                  ContentHandler handler,
                  Metadata metadata,
                  ParseContext context)
           throws IOException,
                  TikaException,
                  SAXException
Parses the given stream as a cpio file.

Specified by:
parse in interface Parser
Overrides:
parse in class DelegatingParser
Parameters:
stream - the document stream (input)
handler - handler for the XHTML SAX events (output)
metadata - document metadata (input and output)
context - parse context
Throws:
IOException - if the document stream could not be read
TikaException - if the document could not be parsed
SAXException - if the SAX events could not be processed


Copyright © 2007-2010 The Apache Software Foundation. All Rights Reserved.