public class LeadPipeInputStream
extends java.io.PipedInputStream
PipedInputStream that will not die
 when the writing Thread is no longer alive.| Constructor and Description | 
|---|
| LeadPipeInputStream()Construct a new  LeadPipeInputStream. | 
| LeadPipeInputStream(int size)Construct a new  LeadPipeInputStreamwith the specified buffer size. | 
| LeadPipeInputStream(java.io.PipedOutputStream src)Construct a new  LeadPipeInputStreamto pull
 from the specifiedPipedOutputStream. | 
| LeadPipeInputStream(java.io.PipedOutputStream src,
                   int size)Construct a new  LeadPipeInputStreamto pull
 from the specifiedPipedOutputStream, using a
 circular buffer of the specified size. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | log(java.lang.String message,
   int loglevel)Log a message with the specified logging level. | 
| int | read()Read a byte from the stream. | 
| void | setBufferSize(int size)Set the size of the buffer. | 
| void | setManagingComponent(ProjectComponent pc)Set a managing  ProjectComponentfor
 thisLeadPipeInputStream. | 
| void | setManagingTask(Task task)Set a managing  Taskfor
 thisLeadPipeInputStream. | 
public LeadPipeInputStream()
LeadPipeInputStream.public LeadPipeInputStream(int size)
LeadPipeInputStream
 with the specified buffer size.size - the size of the circular buffer.public LeadPipeInputStream(java.io.PipedOutputStream src)
                    throws java.io.IOException
LeadPipeInputStream to pull
 from the specified PipedOutputStream.src - the PipedOutputStream source.java.io.IOException - if unable to construct the stream.public LeadPipeInputStream(java.io.PipedOutputStream src,
                           int size)
                    throws java.io.IOException
LeadPipeInputStream to pull
 from the specified PipedOutputStream, using a
 circular buffer of the specified size.src - the PipedOutputStream source.size - the size of the circular buffer.java.io.IOException - if there is an error.public int read()
         throws java.io.IOException
read in class java.io.PipedInputStreamjava.io.IOException - if there is an error.public void setBufferSize(int size)
size - the new buffer size.  Ignored if <= current size.public void setManagingTask(Task task)
Task for
 this LeadPipeInputStream.task - the managing Task.public void setManagingComponent(ProjectComponent pc)
ProjectComponent for
 this LeadPipeInputStream.pc - the managing ProjectComponent.public void log(java.lang.String message,
                int loglevel)
message - the String message.loglevel - the int logging level.