Stellent
HowToComponents
JavaDoc

intradoc.common
Class IdcPipedInputStream

java.lang.Object
  |
  +--java.io.InputStream
        |
        +--intradoc.common.IdcPipedInputStream

public class IdcPipedInputStream
extends java.io.InputStream


Field Summary
protected  byte[] m_buf
           
protected  boolean m_connected
           
protected  int m_end
           
protected  IdcPipedOutputStream m_pos
           
protected  int m_position
           
protected  boolean m_streamClosed
           
 
Constructor Summary
IdcPipedInputStream()
           
IdcPipedInputStream(IdcPipedOutputStream ipos)
           
 
Method Summary
 int available()
           
 void close()
           
 void connect(IdcPipedOutputStream ipos)
           
protected  void ensureOpen()
           
protected  boolean fill()
           
protected  void notifySender()
           
 int read()
           
 int read(byte[] b)
           
 int read(byte[] b, int off, int len)
           
 
Methods inherited from class java.io.InputStream
mark, markSupported, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_pos

protected IdcPipedOutputStream m_pos

m_connected

protected boolean m_connected

m_buf

protected byte[] m_buf

m_position

protected int m_position

m_end

protected int m_end

m_streamClosed

protected boolean m_streamClosed
Constructor Detail

IdcPipedInputStream

public IdcPipedInputStream()

IdcPipedInputStream

public IdcPipedInputStream(IdcPipedOutputStream ipos)
Method Detail

connect

public void connect(IdcPipedOutputStream ipos)

available

public int available()
              throws java.io.IOException
Overrides:
available in class java.io.InputStream
java.io.IOException

read

public int read()
         throws java.io.IOException
Specified by:
read in class java.io.InputStream
java.io.IOException

read

public int read(byte[] b)
         throws java.io.IOException
Overrides:
read in class java.io.InputStream
java.io.IOException

read

public int read(byte[] b,
                int off,
                int len)
         throws java.io.IOException
Overrides:
read in class java.io.InputStream
java.io.IOException

fill

protected boolean fill()
                throws java.io.IOException
java.io.IOException

ensureOpen

protected void ensureOpen()
                   throws java.io.IOException
java.io.IOException

close

public void close()
           throws java.io.IOException
Overrides:
close in class java.io.InputStream
java.io.IOException

notifySender

protected void notifySender()
                     throws java.io.IOException
java.io.IOException


(c) 1996-2005  All rights reserved.  Stellent, Inc.