@Deprecated public class ChunkedOutputStream extends OutputStream
| Constructor and Description |
|---|
ChunkedOutputStream(OutputStream destination)
Deprecated.
Convenience constructor to use a default chunk size size of 2048.
|
ChunkedOutputStream(OutputStream destination,
int chunkSize)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Deprecated.
Closes this output stream for writing but does not close the wrapped
stream.
|
void |
flush()
Deprecated.
Writes the current chunk and flushes the wrapped stream.
|
void |
write(int b)
Deprecated.
|
write, writepublic ChunkedOutputStream(OutputStream destination)
destination - ChunkedOutputStream(OutputStream, int)public ChunkedOutputStream(OutputStream destination, int chunkSize)
destination - Outputstream to write chunked data tochunkSize - Chunk sizepublic 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(int b)
throws IOException
write in class OutputStreamIOExceptionCopyright © 2005–2015. All rights reserved.