public class TrimmerOutputStream extends FilterOutputStream
out| Constructor and Description |
|---|
TrimmerOutputStream(OutputStream out,
int bufferSize,
int startTrimLength,
int endTrimLength) |
| Modifier and Type | Method and Description |
|---|---|
void |
flush() |
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
closepublic TrimmerOutputStream(OutputStream out, int bufferSize, int startTrimLength, int endTrimLength)
public void write(int b)
throws IOException
write in class FilterOutputStreamIOExceptionpublic void write(byte[] b)
throws IOException
write in class FilterOutputStreamIOExceptionpublic void write(byte[] b,
int off,
int len)
throws IOException
write in class FilterOutputStreamIOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in class FilterOutputStreamIOExceptionCopyright © 2000–2020 The Apache Software Foundation. All rights reserved.