Stellent
HowToComponents
JavaDoc

intradoc.common
Class IdcPipedOutputStream

java.lang.Object
  |
  +--java.io.OutputStream
        |
        +--intradoc.common.IdcPipedOutputStream

public class IdcPipedOutputStream
extends java.io.OutputStream


Field Summary
protected  byte[] m_buf
           
protected  boolean m_bufferEmpty
           
protected  boolean m_bufferFull
           
protected  boolean m_lock
           
protected  IdcPipedInputStream m_pis
           
protected  int m_position
           
protected  boolean m_streamClosed
           
protected static int PIPE_SIZE
           
 
Constructor Summary
IdcPipedOutputStream()
           
IdcPipedOutputStream(IdcPipedInputStream pis)
           
 
Method Summary
 void close()
           
 void connect(IdcPipedInputStream pis)
           
protected  void ensureOpen()
           
 void flush()
           
protected  void getLock()
           
protected  void notifyReader()
           
protected  boolean releaseLock()
           
 void write(byte[] b)
           
 void write(byte[] b, int off, int len)
           
 void write(int b)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PIPE_SIZE

protected static int PIPE_SIZE

m_buf

protected byte[] m_buf

m_position

protected int m_position

m_pis

protected IdcPipedInputStream m_pis

m_bufferFull

protected boolean m_bufferFull

m_bufferEmpty

protected boolean m_bufferEmpty

m_streamClosed

protected boolean m_streamClosed

m_lock

protected boolean m_lock
Constructor Detail

IdcPipedOutputStream

public IdcPipedOutputStream()

IdcPipedOutputStream

public IdcPipedOutputStream(IdcPipedInputStream pis)
Method Detail

connect

public void connect(IdcPipedInputStream pis)

write

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

write

public void write(int b)
           throws java.io.IOException
Specified by:
write in class java.io.OutputStream
java.io.IOException

write

public void write(byte[] b)
           throws java.io.IOException
Overrides:
write in class java.io.OutputStream
java.io.IOException

flush

public void flush()
           throws java.io.IOException
Overrides:
flush in class java.io.OutputStream
java.io.IOException

close

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

getLock

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

releaseLock

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

notifyReader

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

ensureOpen

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


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