Package org.bndly.common.html
Class Parser
- java.lang.Object
-
- org.bndly.common.html.Parser
-
-
Constructor Summary
Constructors Constructor Description Parser(InputStream is)Parser(InputStream is, String encoding)Parser(InputStream is, String encoding, ParserConfig config)Parser(InputStream is, ParserConfig config)Parser(Reader reader)Parser(Reader reader, ParserConfig config)Parser(String inputString)Parser(String inputString, ParserConfig config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Content>getContent()HTMLgetHTML()Parserhandler(Handler handler)Parserparse()
-
-
-
Constructor Detail
-
Parser
public Parser(String inputString)
-
Parser
public Parser(String inputString, ParserConfig config)
-
Parser
public Parser(InputStream is)
-
Parser
public Parser(InputStream is, ParserConfig config)
-
Parser
public Parser(InputStream is, String encoding) throws UnsupportedEncodingException
- Throws:
UnsupportedEncodingException
-
Parser
public Parser(InputStream is, String encoding, ParserConfig config) throws UnsupportedEncodingException
- Throws:
UnsupportedEncodingException
-
Parser
public Parser(Reader reader)
-
Parser
public Parser(Reader reader, ParserConfig config)
-
-
Method Detail
-
parse
public Parser parse() throws HTMLParsingException, IOException
- Throws:
HTMLParsingExceptionIOException
-
getHTML
public HTML getHTML()
-
-