|
PDF Clown 0.0.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object it.stefanochizzolini.clown.bytes.OutputStream
public final class OutputStream
Output stream default implementation.
Constructor Summary | |
---|---|
OutputStream(OutputStream stream)
|
Method Summary | |
---|---|
void |
close()
|
protected void |
finalize()
|
long |
getLength()
Gets the length of the stream. |
void |
write(byte[] data)
Writes a byte array into the stream. |
void |
write(byte[] data,
int offset,
int length)
Writes a byte range into the stream. |
void |
write(IInputStream data)
Writes an IInputStream into the stream. |
void |
write(String data)
Writes a string into the stream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OutputStream(OutputStream stream)
Method Detail |
---|
public void write(byte[] data)
IOutputStream
write
in interface IOutputStream
data
- Byte array to write into the stream.public void write(byte[] data, int offset, int length)
IOutputStream
write
in interface IOutputStream
data
- Byte array to write into the stream.offset
- Location in the byte array at which writing begins.length
- Number of bytes to write.public void write(String data)
IOutputStream
write
in interface IOutputStream
data
- String to write into the stream.public void write(IInputStream data)
IOutputStream
IInputStream
into the stream.
write
in interface IOutputStream
data
- IInputStream to write into the stream.public long getLength()
IStream
getLength
in interface IStream
public void close() throws IOException
close
in interface Closeable
IOException
protected void finalize() throws Throwable
finalize
in class Object
Throwable
|
PDF Clown 0.0.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |