com.jdroid.java.parser.zip
Class ZipFileParser
java.lang.Object
com.jdroid.java.parser.zip.ZipFileParser
- All Implemented Interfaces:
- Parser
public class ZipFileParser
- extends Object
- implements Parser
Parser used to handle a file contained inside a zip.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ZipFileParser
public ZipFileParser(Parser innerParser,
String fileName)
- Parameters:
innerParser - Parser to use to handle the extracted file.fileName - Name of the file to extract of the zip.
parse
public Object parse(InputStream inputStream)
- Description copied from interface:
Parser
- Parse the inputStream
- Specified by:
parse in interface Parser
- Parameters:
inputStream - The inputStream to parse
- Returns:
- The parser response object
- See Also:
Parser.parse(java.io.InputStream)
parse
public Object parse(String input)
- Description copied from interface:
Parser
- Parse the String
- Specified by:
parse in interface Parser
- Parameters:
input - The input to parse
- Returns:
- The parser response object
- See Also:
Parser.parse(java.lang.String)
Copyright © 2014. All rights reserved.