This class can be used to parse some HTML files.
| Method from com.lowagie.text.html.HtmlParser Detail: |
public void go(DocListener document,
InputSource is) {
try {
parser.parse(is, new SAXmyHtmlHandler(document));
}
catch(SAXException se) {
throw new ExceptionConverter(se);
}
catch(IOException ioe) {
throw new ExceptionConverter(ioe);
}
}
|
public void go(DocListener document,
String file) {
try {
parser.parse(file, new SAXmyHtmlHandler(document));
}
catch(SAXException se) {
throw new ExceptionConverter(se);
}
catch(IOException ioe) {
throw new ExceptionConverter(ioe);
}
}
|
public void go(DocListener document,
InputStream is) {
try {
parser.parse(new InputSource(is), new SAXmyHtmlHandler(document));
}
catch(SAXException se) {
throw new ExceptionConverter(se);
}
catch(IOException ioe) {
throw new ExceptionConverter(ioe);
}
}
|
public void go(DocListener document,
Reader is) {
try {
parser.parse(new InputSource(is), new SAXmyHtmlHandler(document));
}
catch(SAXException se) {
throw new ExceptionConverter(se);
}
catch(IOException ioe) {
throw new ExceptionConverter(ioe);
}
}
|
public static void parse(DocListener document,
InputSource is) {
HtmlParser p = new HtmlParser();
p.go(document, is);
}
Parses a given file that validates with the iText DTD and writes the content to a document. |
public static void parse(DocListener document,
String file) {
HtmlParser p = new HtmlParser();
p.go(document, file);
}
Parses a given file that validates with the iText DTD and writes the content to a document. |
public static void parse(DocListener document,
InputStream is) {
HtmlParser p = new HtmlParser();
p.go(document, new InputSource(is));
}
Parses a given file that validates with the iText DTD and writes the content to a document. |
public static void parse(DocListener document,
Reader is) {
HtmlParser p = new HtmlParser();
p.go(document, new InputSource(is));
}
Parses a given file that validates with the iText DTD and writes the content to a document. |