Class TrimmerOutputStream
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
org.apache.xml.security.stax.impl.util.TrimmerOutputStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
Trimms the start and the end of a stream
-
Field Summary
Fields inherited from class java.io.FilterOutputStream
out -
Constructor Summary
ConstructorsConstructorDescriptionTrimmerOutputStream(OutputStream out, int bufferSize, int startTrimLength, int endTrimLength) -
Method Summary
Methods inherited from class java.io.FilterOutputStream
close
-
Constructor Details
-
TrimmerOutputStream
public TrimmerOutputStream(OutputStream out, int bufferSize, int startTrimLength, int endTrimLength)
-
-
Method Details
-
write
- Overrides:
writein classFilterOutputStream- Throws:
IOException
-
write
- Overrides:
writein classFilterOutputStream- Throws:
IOException
-
write
- Overrides:
writein classFilterOutputStream- Throws:
IOException
-
flush
- Specified by:
flushin interfaceFlushable- Overrides:
flushin classFilterOutputStream- Throws:
IOException
-