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 java.lang.String
extract(java.io.InputStream inputStream, java.nio.charset.Charset charset)
java.lang.String
extract(java.lang.String input)
-
Methods inherited from class lumis.util.parse.BaseFileParser
extract, extract, extract, inferCharset
-
-
-
-
Method Detail
-
extract
public java.lang.String extract(java.io.InputStream inputStream, java.nio.charset.Charset charset) throws ParseException
- Specified by:
extract
in interfaceIFileParser
- Specified by:
extract
in classBaseFileParser
- Throws:
ParseException
-
extract
public java.lang.String extract(java.lang.String input) throws ParseException
- Throws:
ParseException
-
-