|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.ontopia.xml.TidyHTML
public class TidyHTML
Generate tidied HTML from a URL stream. It's possible to use multiple Tidy-Processes running on separate threads.
| Field Summary | |
|---|---|
protected org.slf4j.Logger |
log
|
| Constructor Summary | |
|---|---|
TidyHTML(String strUrl,
String outFileName,
String errOutFileName,
boolean xmlOut)
Specify InputStream which should been parsed,
and the OutputStream to which the pretty-printed result
should been send. |
|
| Method Summary | |
|---|---|
static void |
main(String[] args)
only for test purposes |
void |
run()
start the tidification |
void |
tidify()
convenience wrapper to wait until one process has finished |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected org.slf4j.Logger log
| Constructor Detail |
|---|
public TidyHTML(String strUrl,
String outFileName,
String errOutFileName,
boolean xmlOut)
InputStream which should been parsed,
and the OutputStream to which the pretty-printed result
should been send.
errOutFileName - Name of the file for writing out errors/warningsxmlOut - generate XML output, otherwise HTML| Method Detail |
|---|
public void run()
run in interface Runnablepublic void tidify()
public static void main(String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||