com.lowagie.text.html
Class HtmlParser
This class can be used to parse some HTML files.
void | go(DocListener document, InputSource is) - Parses a given file.
|
void | 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.
|
static void | parse(DocListener document, InputSource is) - Parses a given file that validates with the iText DTD and writes the content to a document.
|
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.
|
go , go , go , go , go , go , parse , parse , parse , parse , parse , parse , parse , parse , parse , parse , parse , parse |
HtmlParser
public HtmlParser()
Constructs an HtmlParser.
go
public void go(DocListener document,
InputSource is)
Parses a given file.
- go in interface XmlParser
document
- the document the parser will write tois
- the InputSource with the content
go
public void go(DocListener document,
InputStream is)
Parses a given file.
document
- the document the parser will write tois
- the InputStream with the content
go
public void go(DocListener document,
Reader is)
Parses a given file.
document
- the document the parser will write tois
- the Reader with the content
go
public void go(DocListener document,
String file)
Parses a given file.
- go in interface XmlParser
document
- the document the parser will write tofile
- the file with the content
parse
public static void parse(DocListener document,
InputSource is)
Parses a given file that validates with the iText DTD and writes the content to a document.
- parse in interface XmlParser
document
- the document the parser will write tois
- the InputSource with the content
parse
public static void parse(DocListener document,
InputStream is)
Parses a given file that validates with the iText DTD and writes the content to a document.
- parse in interface XmlParser
document
- the document the parser will write tois
- the InputStream with the content
parse
public static void parse(DocListener document,
Reader is)
Parses a given file that validates with the iText DTD and writes the content to a document.
- parse in interface XmlParser
document
- the document the parser will write tois
- the Reader with the content
parse
public static void parse(DocListener document,
String file)
Parses a given file that validates with the iText DTD and writes the content to a document.
- parse in interface XmlParser
document
- the document the parser will write tofile
- the file with the content