Package org.eclipse.mat.hprof
Interface IPositionInputStream
-
- All Superinterfaces:
DataInput
- All Known Implementing Classes:
BufferingRafPositionInputStream,ByteArrayPositionInputStream,DefaultPositionInputStream
public interface IPositionInputStream extends DataInput
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()voidmark(int readLimit)booleanmarkSupported()longposition()intread()intread(byte[] b, int off, int len)booleanreadBoolean()bytereadByte()charreadChar()doublereadDouble()floatreadFloat()voidreadFully(byte[] b)voidreadFully(byte[] b, int off, int len)longreadID(int idSize)intreadInt()StringreadLine()longreadLong()shortreadShort()intreadUnsignedByte()longreadUnsignedInt()intreadUnsignedShort()StringreadUTF()voidreset()voidseek(long pos)longskip(long n)intskipBytes(int n)intskipBytes(long n)
-
-
-
Method Detail
-
read
int read() throws IOException
- Throws:
IOException
-
read
int read(byte[] b, int off, int len) throws IOException- Throws:
IOException
-
skip
long skip(long n) throws IOException
- Throws:
IOException
-
markSupported
boolean markSupported()
-
mark
void mark(int readLimit)
-
reset
void reset() throws IOException- Throws:
IOException
-
skipBytes
int skipBytes(int n) throws IOException- Specified by:
skipBytesin interfaceDataInput- Throws:
IOException
-
skipBytes
int skipBytes(long n) throws IOException- Throws:
IOException
-
readFully
void readFully(byte[] b) throws IOException- Specified by:
readFullyin interfaceDataInput- Throws:
IOException
-
readFully
void readFully(byte[] b, int off, int len) throws IOException- Specified by:
readFullyin interfaceDataInput- Throws:
IOException
-
position
long position()
-
seek
void seek(long pos) throws IOException
- Throws:
IOException
-
readUnsignedByte
int readUnsignedByte() throws IOException- Specified by:
readUnsignedBytein interfaceDataInput- Throws:
IOException
-
readInt
int readInt() throws IOException- Specified by:
readIntin interfaceDataInput- Throws:
IOException
-
readLong
long readLong() throws IOException- Specified by:
readLongin interfaceDataInput- Throws:
IOException
-
readBoolean
boolean readBoolean() throws IOException- Specified by:
readBooleanin interfaceDataInput- Throws:
IOException
-
readByte
byte readByte() throws IOException- Specified by:
readBytein interfaceDataInput- Throws:
IOException
-
readChar
char readChar() throws IOException- Specified by:
readCharin interfaceDataInput- Throws:
IOException
-
readDouble
double readDouble() throws IOException- Specified by:
readDoublein interfaceDataInput- Throws:
IOException
-
readFloat
float readFloat() throws IOException- Specified by:
readFloatin interfaceDataInput- Throws:
IOException
-
readLine
String readLine() throws IOException
- Specified by:
readLinein interfaceDataInput- Throws:
IOException
-
readShort
short readShort() throws IOException- Specified by:
readShortin interfaceDataInput- Throws:
IOException
-
readUTF
String readUTF() throws IOException
- Specified by:
readUTFin interfaceDataInput- Throws:
IOException
-
readUnsignedShort
int readUnsignedShort() throws IOException- Specified by:
readUnsignedShortin interfaceDataInput- Throws:
IOException
-
readUnsignedInt
long readUnsignedInt() throws IOException- Throws:
IOException
-
readID
long readID(int idSize) throws IOException- Throws:
IOException
-
close
void close() throws IOException- Throws:
IOException
-
-