Package com.logicaldoc.core.parser
Class ZABWParser
- java.lang.Object
-
- com.logicaldoc.core.parser.AbstractParser
-
- com.logicaldoc.core.parser.ZABWParser
-
- All Implemented Interfaces:
Parser
public class ZABWParser extends AbstractParser
Text extractor for AbiWord compressed documents.- Since:
- 3.5
- Author:
- Alessandro Gasparini - LogicalDOC
-
-
Constructor Summary
Constructors Constructor Description ZABWParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
internalParse(InputStream input, String filename, String encoding, Locale locale, String tenant, StringBuffer content)
String
parse(File file, String filename, String encoding, Locale locale, String tenant)
Same as the other method that accept an input stream, use this when you have a file rather than a stream.-
Methods inherited from class com.logicaldoc.core.parser.AbstractParser
parse
-
-
-
-
Method Detail
-
parse
public String parse(File file, String filename, String encoding, Locale locale, String tenant)
Description copied from interface:Parser
Same as the other method that accept an input stream, use this when you have a file rather than a stream.- Specified by:
parse
in interfaceParser
- Overrides:
parse
in classAbstractParser
- Parameters:
file
- the filefilename
- name of the fileencoding
- character encodinglocale
- the localetenant
- name of the tenant- Returns:
- the extracted text
-
internalParse
public void internalParse(InputStream input, String filename, String encoding, Locale locale, String tenant, StringBuffer content)
-
-