Package lumis.util.parse
Class HtmlParser
- java.lang.Object
-
- lumis.util.parse.BaseFileParser
-
- lumis.util.parse.HtmlParser
-
- All Implemented Interfaces:
IFileParser
public class HtmlParser extends BaseFileParser
Extracts text from a HTML file.- Since:
- 4.0.10
- Version:
- $Revision: 23956 $ $Date: 2020-07-08 15:50:00 -0300 (Wed, 08 Jul 2020) $
-
-
Constructor Summary
Constructors Constructor Description HtmlParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
extract(InputStream inputStream, Charset charset)
String
extract(String input)
-
Methods inherited from class lumis.util.parse.BaseFileParser
extract, extract, extract, inferCharset
-
-
-
-
Method Detail
-
extract
public String extract(InputStream inputStream, Charset charset) throws ParseException
- Specified by:
extract
in interfaceIFileParser
- Specified by:
extract
in classBaseFileParser
- Throws:
ParseException
-
extract
public String extract(String input) throws ParseException
- Throws:
ParseException
-
-