Package org.eclipse.mat.hprof
Class SeekableStream.UnclosableInputStream
- java.lang.Object
-
- java.io.InputStream
-
- java.io.FilterInputStream
-
- org.eclipse.mat.hprof.SeekableStream.UnclosableInputStream
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
- Enclosing class:
- SeekableStream
public static class SeekableStream.UnclosableInputStream extends FilterInputStream
Wraps anInputStream
so that close does not propagate to the underlying stream.
-
-
Constructor Summary
Constructors Constructor Description UnclosableInputStream(InputStream in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
-
Methods inherited from class java.io.FilterInputStream
available, mark, markSupported, read, read, read, reset, skip
-
Methods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, transferTo
-
-
-
-
Constructor Detail
-
UnclosableInputStream
public UnclosableInputStream(InputStream in)
-
-
Method Detail
-
close
public void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classFilterInputStream
-
-