public class SizeLimitedOutputStream
extends org.apache.commons.io.output.CountingOutputStream
out| Constructor and Description |
|---|
SizeLimitedOutputStream(OutputStream out) |
SizeLimitedOutputStream(OutputStream out,
long maxBytes) |
| Modifier and Type | Method and Description |
|---|---|
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
beforeWrite, getByteCount, getCount, resetByteCount, resetCountpublic SizeLimitedOutputStream(OutputStream out)
public SizeLimitedOutputStream(OutputStream out, long maxBytes)
public void write(byte[] b)
throws IOException
write in class org.apache.commons.io.output.ProxyOutputStreamIOExceptionpublic void write(byte[] b,
int off,
int len)
throws IOException
write in class org.apache.commons.io.output.ProxyOutputStreamIOExceptionpublic void write(int b)
throws IOException
write in class org.apache.commons.io.output.ProxyOutputStreamIOExceptionCopyright © 2018 B3Partners B.V.. All rights reserved.