org.sourcejammer.util
Class SendBytesOutputStream
java.lang.Object
  |
  +--java.io.OutputStream
        |
        +--org.sourcejammer.util.SendBytesOutputStream
- public class SendBytesOutputStream- extends java.io.OutputStream
Title:        $FileName: SendBytesOutputStream.java$
- Version:
- $VerNum: 4$
 $KeyWordsOff: $
 
 Output stream that outputs to a SendBytes object.
- Author:
- $AuthorName: Rob MacGrogan$
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
sink
private SendBytesDataSource sink
stm
private java.io.ByteArrayOutputStream stm
SendBytesOutputStream
public SendBytesOutputStream(SendBytesDataSource sb)
close
public void close()
           throws java.io.IOException
- 
- Overrides:
- closein class- java.io.OutputStream
 
- 
- java.io.IOException
- See Also:
- OutputStream.close()
 
write
public void write(int b)
           throws java.io.IOException
- 
- Specified by:
- writein class- java.io.OutputStream
 
- 
- java.io.IOException
- See Also:
- OutputStream.write(int)
 
finalize
protected void finalize()
                 throws java.lang.Throwable
- 
- Overrides:
- finalizein class- java.lang.Object
 
- 
- java.lang.Throwable
- See Also:
- Object.finalize()
 
write
public void write(byte[] b,
                  int off,
                  int len)
           throws java.io.IOException
- 
- Overrides:
- writein class- java.io.OutputStream
 
- 
- java.io.IOException
- See Also:
- OutputStream.write(byte[], int, int)
 
flush
public void flush()
           throws java.io.IOException
- 
- Overrides:
- flushin class- java.io.OutputStream
 
- 
- java.io.IOException
- See Also:
- OutputStream.flush()
 
write
public void write(byte[] arg0)
           throws java.io.IOException
- 
- Overrides:
- writein class- java.io.OutputStream
 
- 
- java.io.IOException
- See Also:
- OutputStream.write(byte[])
 
Copyright © 2003 Soucejammer project.