- java.lang.Object
-
- java.io.InputStream
-
- com.ibm.j9ddr.libraries.SlidingFileInputStream
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
public class SlidingFileInputStream extends InputStream
-
-
Constructor Summary
Constructors Constructor Description SlidingFileInputStream(File file, long start, long length)
SlidingFileInputStream(ImageInputStream iis, long start, long length)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
disposeStream()
Actually closes the underlying stream.-
Methods declared in class java.io.InputStream
available, close, mark, markSupported, nullInputStream, read, read, read, readAllBytes, readNBytes, readNBytes, reset, skip, transferTo
-
-
-
-
Constructor Detail
-
SlidingFileInputStream
public SlidingFileInputStream(File file, long start, long length) throws FileNotFoundException, IOException
- Throws:
FileNotFoundException
IOException
-
SlidingFileInputStream
public SlidingFileInputStream(ImageInputStream iis, long start, long length) throws FileNotFoundException, IOException
- Throws:
FileNotFoundException
IOException
-
-
Method Detail
-
disposeStream
public void disposeStream() throws IOException
Actually closes the underlying stream. The close() method does not close the stream so as to allow its reuse.- Throws:
IOException
-
-