Modifier and Type | Field and Description |
---|---|
protected org.slf4j.Logger |
log |
Constructor and Description |
---|
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. |
Modifier and Type | Method and Description |
---|---|
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
|
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