Package org.eclipse.mat.parser.io
Class SimpleBufferedRandomAccessInputStream
java.lang.Object
java.io.InputStream
org.eclipse.mat.parser.io.SimpleBufferedRandomAccessInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()longbooleanfinal intread()intread(byte[] b, int off, int len) final intreadInt()intreadIntArray(int[] a) final longreadLong()intreadLongArray(long[] a) voidseek(long pos) Methods inherited from class java.io.InputStream
available, mark, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
Constructor Details
-
SimpleBufferedRandomAccessInputStream
- Throws:
IOException
-
SimpleBufferedRandomAccessInputStream
- Throws:
IOException
-
-
Method Details
-
read
- Specified by:
readin classInputStream- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-
markSupported
public boolean markSupported()- Overrides:
markSupportedin classInputStream
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream- Throws:
IOException
-
seek
- Throws:
IOException
-
getFilePointer
public long getFilePointer() -
readInt
- Throws:
IOException
-
readLong
- Throws:
IOException
-
readIntArray
- Throws:
IOException
-
readLongArray
- Throws:
IOException
-