java.io.Closeable, java.io.Flushable, java.lang.AutoCloseablepublic class ChunkedOutputStream
extends java.io.OutputStream
| Constructor | Description |
|---|---|
ChunkedOutputStream(java.io.OutputStream pStream,
int pBufferLength) |
Ctor.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
|
void |
flush() |
|
void |
write(byte[] source,
int offset,
int len) |
|
void |
write(int i) |
public ChunkedOutputStream(java.io.OutputStream pStream,
int pBufferLength)
pStream - The stream to create this one uponpBufferLength - The buffer length. When this value is exceeded a new chunk
will be started.public void close()
throws java.io.IOException
close in interface java.lang.AutoCloseableclose in interface java.io.Closeableclose in class java.io.OutputStreamjava.io.IOExceptionpublic void flush()
throws java.io.IOException
flush in interface java.io.Flushableflush in class java.io.OutputStreamjava.io.IOExceptionpublic void write(byte[] source,
int offset,
int len)
throws java.io.IOException
write in class java.io.OutputStreamoffset - java.io.IOExceptionpublic void write(int i)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionCopyright © 2005, 2013 IBM Corporation. All Rights Reserved.