net.metanotion.io
Class JOutputStream
java.lang.Object
net.metanotion.io.JOutputStream
- All Implemented Interfaces:
- Closeable, Flushable, OutputStream
public final class JOutputStream
- extends Object
- implements OutputStream
Adapter to convert a java.io.OutputStream into a net.metantion.io.OutputStream.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JOutputStream
public JOutputStream(OutputStream out)
write
public void write(byte[] b)
- Specified by:
write in interface OutputStream
write
public void write(byte[] b,
int offset,
int length)
- Specified by:
write in interface OutputStream
write
public void write(byte b)
- Specified by:
write in interface OutputStream
close
public void close()
- Specified by:
close in interface Closeable- Specified by:
close in interface OutputStream
flush
public void flush()
- Specified by:
flush in interface Flushable- Specified by:
flush in interface OutputStream
length
public long length()
- Specified by:
length in interface OutputStream
setLength
public long setLength(long newLength)
- Specified by:
setLength in interface OutputStream