Package org.eclipse.mat.parser.io
Class BufferedRandomAccessInputStream
java.lang.Object
java.io.InputStream
org.eclipse.mat.parser.io.BufferedRandomAccessInputStream
- All Implemented Interfaces:
Closeable
,AutoCloseable
Used to wrap a
RandomAccessFile
with multiple buffers so that different locations
can each have a buffer for the file.-
Constructor Summary
-
Method Summary
Methods inherited from class java.io.InputStream
available, mark, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
Constructor Details
-
BufferedRandomAccessInputStream
- Throws:
IOException
-
BufferedRandomAccessInputStream
- Throws:
IOException
-
-
Method Details
-
read
- Specified by:
read
in classInputStream
- Throws:
IOException
-
read
- Overrides:
read
in classInputStream
- Throws:
IOException
-
markSupported
public boolean markSupported()- Overrides:
markSupported
in classInputStream
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classInputStream
- Throws:
IOException
-
seek
- Throws:
IOException
-
getFilePointer
public long getFilePointer()
-