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:
close
in class java.io.OutputStream
java.io.IOException
- See Also:
OutputStream.close()
write
public void write(int b)
throws java.io.IOException
- Specified by:
write
in class java.io.OutputStream
java.io.IOException
- See Also:
OutputStream.write(int)
finalize
protected void finalize()
throws java.lang.Throwable
- Overrides:
finalize
in 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:
write
in class java.io.OutputStream
java.io.IOException
- See Also:
OutputStream.write(byte[], int, int)
flush
public void flush()
throws java.io.IOException
- Overrides:
flush
in class java.io.OutputStream
java.io.IOException
- See Also:
OutputStream.flush()
write
public void write(byte[] arg0)
throws java.io.IOException
- Overrides:
write
in class java.io.OutputStream
java.io.IOException
- See Also:
OutputStream.write(byte[])
Copyright © 2003 Soucejammer project.