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 Closeable
close
in interface AutoCloseable
close
in class OutputStream
IOException
public void flush() throws IOException
flush
in interface Flushable
flush
in class OutputStream
IOException
public void write(byte[] source, int offset, int len) throws IOException
write
in class OutputStream
offset
- IOException
public void write(int i) throws IOException
write
in class OutputStream
IOException
Copyright © 2005, 2012 IBM Corporation. All Rights Reserved.