Package com.lowagie.text.html
Class HtmlParser
- java.lang.Object
-
- com.lowagie.text.xml.XmlParser
-
- com.lowagie.text.html.HtmlParser
-
public class HtmlParser extends XmlParser
This class can be used to parse some HTML files.
-
-
Constructor Summary
Constructors Constructor Description HtmlParser()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
go(DocListener document, java.io.InputStream is)
Parses a given file.void
go(DocListener document, java.io.Reader is)
Parses a given file.void
go(DocListener document, java.lang.String file)
Parses a given file.void
go(DocListener document, org.xml.sax.InputSource is)
Parses a given file.static void
parse(DocListener document, java.io.InputStream is)
Parses a given file that validates with the iText DTD and writes the content to a document.static void
parse(DocListener document, java.io.Reader is)
Parses a given file that validates with the iText DTD and writes the content to a document.static void
parse(DocListener document, java.lang.String file)
Parses a given file that validates with the iText DTD and writes the content to a document.static void
parse(DocListener document, org.xml.sax.InputSource is)
Parses a given file that validates with the iText DTD and writes the content to a document.
-
-
-
Method Detail
-
parse
public static void parse(DocListener document, org.xml.sax.InputSource is)
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
public static void parse(DocListener document, java.lang.String file)
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
public static void parse(DocListener document, java.io.InputStream is)
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
public static void parse(DocListener document, java.io.Reader is)
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
public void go(DocListener document, org.xml.sax.InputSource is)
Parses a given file.
-
go
public void go(DocListener document, java.lang.String file)
Parses a given file.
-
go
public void go(DocListener document, java.io.InputStream is)
Parses a given file.- Parameters:
document
- the document the parser will write tois
- the InputStream with the content
-
go
public void go(DocListener document, java.io.Reader is)
Parses a given file.- Parameters:
document
- the document the parser will write tois
- the Reader with the content
-
-