Package org.eclipse.mat.parser.io
Class PositionInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
org.eclipse.mat.parser.io.PositionInputStream
- All Implemented Interfaces:
Closeable,DataInput,AutoCloseable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidmark(int readLimit) booleanlongposition()intread()intread(byte[] b, int off, int len) booleanbytereadByte()charreadChar()doublefloatfinal voidreadFully(byte[] b) final voidreadFully(byte[] b, int off, int len) final intreadInt()intreadIntArray(int[] a) readLine()final longreadLong()intreadLongArray(long[] a) shortfinal intintreadUTF()voidreset()voidseek(long pos) longskip(long n) final intskipBytes(int n) final intskipBytes(long n) Methods inherited from class java.io.FilterInputStream
available, close, readMethods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
-
Constructor Details
-
PositionInputStream
-
-
Method Details
-
read
- Overrides:
readin classFilterInputStream- Throws:
IOException
-
read
- Overrides:
readin classFilterInputStream- Throws:
IOException
-
skip
- Overrides:
skipin classFilterInputStream- Throws:
IOException
-
markSupported
public boolean markSupported()- Overrides:
markSupportedin classFilterInputStream
-
mark
public void mark(int readLimit) - Overrides:
markin classFilterInputStream
-
reset
public void reset()- Overrides:
resetin classFilterInputStream
-
skipBytes
- Specified by:
skipBytesin interfaceDataInput- Throws:
IOException
-
skipBytes
- Throws:
IOException
-
readFully
- Specified by:
readFullyin interfaceDataInput- Throws:
IOException
-
readFully
- Specified by:
readFullyin interfaceDataInput- Throws:
IOException
-
position
public long position() -
seek
- Throws:
IOException
-
readUnsignedByte
- Specified by:
readUnsignedBytein interfaceDataInput- Throws:
IOException
-
readInt
- Specified by:
readIntin interfaceDataInput- Throws:
IOException
-
readLong
- Specified by:
readLongin interfaceDataInput- Throws:
IOException
-
readBoolean
- Specified by:
readBooleanin interfaceDataInput- Throws:
IOException
-
readByte
- Specified by:
readBytein interfaceDataInput- Throws:
IOException
-
readChar
- Specified by:
readCharin interfaceDataInput- Throws:
IOException
-
readDouble
- Specified by:
readDoublein interfaceDataInput- Throws:
IOException
-
readFloat
- Specified by:
readFloatin interfaceDataInput- Throws:
IOException
-
readLine
- Specified by:
readLinein interfaceDataInput- Throws:
IOException
-
readShort
- Specified by:
readShortin interfaceDataInput- Throws:
IOException
-
readUTF
- Specified by:
readUTFin interfaceDataInput- Throws:
IOException
-
readUnsignedShort
- Specified by:
readUnsignedShortin interfaceDataInput- Throws:
IOException
-
readIntArray
- Throws:
IOException
-
readLongArray
- Throws:
IOException
-