More information


de.spieleck.pcs.view
Class JTidyThread

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--de.spieleck.pcs.view.JTidyThread
All Implemented Interfaces:
java.lang.Runnable

public class JTidyThread
extends java.lang.Thread

This class encapsulates the tidying of the transformed HTML in an own Thread


Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
JTidyThread(java.io.InputStream in, java.io.OutputStream out)
          Creates a new instance of JTidyThread
 
Method Summary
 java.io.InputStream getIn()
          Getter for property in.
 java.io.OutputStream getOut()
          Getter for property out.
 void run()
          parses the InputStream with JTidy and writes it to the OutputStream
 void setIn(java.io.InputStream in)
          Setter for property in.
 void setOut(java.io.OutputStream out)
          Setter for property out.
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JTidyThread

public JTidyThread(java.io.InputStream in,
                   java.io.OutputStream out)
Creates a new instance of JTidyThread
Method Detail

run

public void run()
parses the InputStream with JTidy and writes it to the OutputStream
Overrides:
run in class java.lang.Thread

getIn

public java.io.InputStream getIn()
Getter for property in.
Returns:
Value of property in.

setIn

public void setIn(java.io.InputStream in)
Setter for property in.
Parameters:
in - New value of property in.

getOut

public java.io.OutputStream getOut()
Getter for property out.
Returns:
Value of property out.

setOut

public void setOut(java.io.OutputStream out)
Setter for property out.
Parameters:
out - New value of property out.

More information