Class EnhancedBufferedInputStream
- java.lang.Object
-
- java.io.InputStream
-
- java.io.FilterInputStream
-
- java.io.BufferedInputStream
-
- org.apache.jackrabbit.filevault.maven.packaging.impl.EnhancedBufferedInputStream
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
public class EnhancedBufferedInputStream extends BufferedInputStream
Similar toBufferedInputStream
but allows to access the delegate viagetDelegate()
.
-
-
Field Summary
-
Fields inherited from class java.io.FilterInputStream
in
-
-
Constructor Summary
Constructors Constructor Description EnhancedBufferedInputStream(InputStream in)
EnhancedBufferedInputStream(InputStream in, int size)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description InputStream
getDelegate()
static InputStream
tryUnwrap(InputStream input)
-
Methods inherited from class java.io.BufferedInputStream
available, close, mark, markSupported, read, read, reset, skip
-
Methods inherited from class java.io.FilterInputStream
read
-
-
-
-
Constructor Detail
-
EnhancedBufferedInputStream
public EnhancedBufferedInputStream(InputStream in, int size)
-
EnhancedBufferedInputStream
public EnhancedBufferedInputStream(InputStream in)
-
-
Method Detail
-
getDelegate
public InputStream getDelegate()
-
tryUnwrap
public static InputStream tryUnwrap(InputStream input)
-
-