Class EnhancedBufferedOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- java.io.FilterOutputStream
-
- java.io.BufferedOutputStream
-
- org.apache.jackrabbit.filevault.maven.packaging.impl.EnhancedBufferedOutputStream
-
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
public class EnhancedBufferedOutputStream extends BufferedOutputStream
Similar toBufferedInputStream
but allows to access the delegate viagetDelegate()
.
-
-
Field Summary
-
Fields inherited from class java.io.BufferedOutputStream
buf, count
-
Fields inherited from class java.io.FilterOutputStream
out
-
-
Constructor Summary
Constructors Constructor Description EnhancedBufferedOutputStream(OutputStream out)
EnhancedBufferedOutputStream(OutputStream out, int size)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description OutputStream
getDelegate()
static OutputStream
tryUnwrap(OutputStream output)
-
Methods inherited from class java.io.BufferedOutputStream
flush, write, write
-
Methods inherited from class java.io.FilterOutputStream
close, write
-
-
-
-
Constructor Detail
-
EnhancedBufferedOutputStream
public EnhancedBufferedOutputStream(OutputStream out, int size)
-
EnhancedBufferedOutputStream
public EnhancedBufferedOutputStream(OutputStream out)
-
-
Method Detail
-
getDelegate
public OutputStream getDelegate()
-
tryUnwrap
public static OutputStream tryUnwrap(OutputStream output)
-
-