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