wt.replication.unit
Class ManifestReader

java.lang.Object
  extended byjava.io.InputStream
      extended bywt.replication.unit.ManifestReader
All Implemented Interfaces:
Runnable, Serializable

public class ManifestReader
extends InputStream
implements Runnable, Serializable

See Also:
Serialized Form

Field Summary
private  Document doc
           
private  boolean isStart
           
private  Serializable obj
           
private  PrintWriter out
           
private  PipedInputStream pis
           
private  Thread thread
           
 
Fields inherited from class java.io.InputStream
 
Constructor Summary
ManifestReader(Serializable obj, Document doc)
           
 
Method Summary
 PipedInputStream getInputStream()
           
 int read()
           
 void run()
           
 
Methods inherited from class java.io.InputStream
available, close, mark, markSupported, read, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

thread

private Thread thread

obj

private Serializable obj

out

private PrintWriter out

pis

private PipedInputStream pis

isStart

private boolean isStart

doc

private Document doc
Constructor Detail

ManifestReader

public ManifestReader(Serializable obj,
                      Document doc)
               throws IOException
Method Detail

read

public int read()
         throws IOException
Throws:
IOException

run

public void run()
Specified by:
run in interface Runnable

getInputStream

public PipedInputStream getInputStream()