Package com.lowagie.text.html
Class HtmlParser
java.lang.Object
com.lowagie.text.xml.XmlParser
com.lowagie.text.html.HtmlParser
This class can be used to parse some HTML files.
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
go
(DocListener document, InputStream is) Parses a given file.void
go
(DocListener document, Reader is) Parses a given file.void
go
(DocListener document, String file) Parses a given file.void
go
(DocListener document, InputSource is) Parses a given file.static void
parse
(DocListener document, InputStream is) Parses a given file that validates with the iText DTD and writes the content to a document.static void
parse
(DocListener document, Reader is) Parses a given file that validates with the iText DTD and writes the content to a document.static void
parse
(DocListener document, String file) Parses a given file that validates with the iText DTD and writes the content to a document.static void
parse
(DocListener document, InputSource is) Parses a given file that validates with the iText DTD and writes the content to a document.
-
Constructor Details
-
HtmlParser
public HtmlParser()
-
-
Method Details
-
parse
Parses a given file that validates with the iText DTD and writes the content to a document.- Parameters:
document
- the document the parser will write tois
- the InputSource with the content
-
parse
Parses a given file that validates with the iText DTD and writes the content to a document.- Parameters:
document
- the document the parser will write tofile
- the file with the content
-
parse
Parses a given file that validates with the iText DTD and writes the content to a document.- Parameters:
document
- the document the parser will write tois
- the InputStream with the content
-
parse
Parses a given file that validates with the iText DTD and writes the content to a document.- Parameters:
document
- the document the parser will write tois
- the Reader with the content
-
go
Parses a given file. -
go
Parses a given file. -
go
Parses a given file.- Parameters:
document
- the document the parser will write tois
- the InputStream with the content
-
go
Parses a given file.- Parameters:
document
- the document the parser will write tois
- the Reader with the content
-