public class ChunkedOutputStream extends OutputStream
| Constructor and Description |
|---|
ChunkedOutputStream(OutputStream pStream,
int pBufferLength)
Ctor.
|
public ChunkedOutputStream(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 IOException
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreamIOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in class OutputStreamIOExceptionpublic void write(byte[] source,
int offset,
int len)
throws IOException
write in class OutputStreamoffset - IOExceptionpublic void write(int i)
throws IOException
write in class OutputStreamIOExceptionCopyright © 2005, 2012 IBM Corporation. All Rights Reserved.