|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.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(java.lang.String strUrl,
java.lang.String outFileName,
java.lang.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(java.lang.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(java.lang.String strUrl, java.lang.String outFileName, java.lang.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 HTMLMethod Detail |
---|
public void run()
run
in interface java.lang.Runnable
public void tidify()
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |