Package lumis.util.parse
Class PdfParser
- java.lang.Object
-
- lumis.util.parse.BaseFileParser
-
- lumis.util.parse.PdfParser
-
- All Implemented Interfaces:
IFileParser
public class PdfParser extends BaseFileParser
Extracts text from a PDF file.- Since:
- 4.0.10
- Version:
- $Revision: 23967 $ $Date: 2020-07-16 11:22:53 -0300 (Thu, 16 Jul 2020) $
-
-
Constructor Summary
Constructors Constructor Description PdfParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
extract(InputStream inputStream, Charset charset)
protected boolean
inferCharset()
-
Methods inherited from class lumis.util.parse.BaseFileParser
extract, extract, extract
-
-
-
-
Method Detail
-
extract
public String extract(InputStream inputStream, Charset charset) throws ParseException
- Specified by:
extract
in interfaceIFileParser
- Specified by:
extract
in classBaseFileParser
- Throws:
ParseException
-
inferCharset
protected boolean inferCharset()
- Overrides:
inferCharset
in classBaseFileParser
-
-