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) |
close
public TrimmerOutputStream(OutputStream out, int bufferSize, int startTrimLength, int endTrimLength)
public void write(int b) throws IOException
write
in class FilterOutputStream
IOException
public void write(byte[] b) throws IOException
write
in class FilterOutputStream
IOException
public void write(byte[] b, int off, int len) throws IOException
write
in class FilterOutputStream
IOException
public void flush() throws IOException
flush
in interface Flushable
flush
in class FilterOutputStream
IOException
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.