Package org.eclipse.mat.hprof
Interface IPositionInputStream
-
- All Superinterfaces:
java.io.DataInput
- All Known Implementing Classes:
BufferingRafPositionInputStream,ByteArrayPositionInputStream,DefaultPositionInputStream
public interface IPositionInputStream extends java.io.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()java.lang.StringreadLine()longreadLong()shortreadShort()intreadUnsignedByte()longreadUnsignedInt()intreadUnsignedShort()java.lang.StringreadUTF()voidreset()voidseek(long pos)longskip(long n)intskipBytes(int n)intskipBytes(long n)
-
-
-
Method Detail
-
read
int read() throws java.io.IOException
- Throws:
java.io.IOException
-
read
int read(byte[] b, int off, int len) throws java.io.IOException- Throws:
java.io.IOException
-
skip
long skip(long n) throws java.io.IOException
- Throws:
java.io.IOException
-
markSupported
boolean markSupported()
-
mark
void mark(int readLimit)
-
reset
void reset() throws java.io.IOException- Throws:
java.io.IOException
-
skipBytes
int skipBytes(int n) throws java.io.IOException- Specified by:
skipBytesin interfacejava.io.DataInput- Throws:
java.io.IOException
-
skipBytes
int skipBytes(long n) throws java.io.IOException- Throws:
java.io.IOException
-
readFully
void readFully(byte[] b) throws java.io.IOException- Specified by:
readFullyin interfacejava.io.DataInput- Throws:
java.io.IOException
-
readFully
void readFully(byte[] b, int off, int len) throws java.io.IOException- Specified by:
readFullyin interfacejava.io.DataInput- Throws:
java.io.IOException
-
position
long position()
-
seek
void seek(long pos) throws java.io.IOException
- Throws:
java.io.IOException
-
readUnsignedByte
int readUnsignedByte() throws java.io.IOException- Specified by:
readUnsignedBytein interfacejava.io.DataInput- Throws:
java.io.IOException
-
readInt
int readInt() throws java.io.IOException- Specified by:
readIntin interfacejava.io.DataInput- Throws:
java.io.IOException
-
readLong
long readLong() throws java.io.IOException- Specified by:
readLongin interfacejava.io.DataInput- Throws:
java.io.IOException
-
readBoolean
boolean readBoolean() throws java.io.IOException- Specified by:
readBooleanin interfacejava.io.DataInput- Throws:
java.io.IOException
-
readByte
byte readByte() throws java.io.IOException- Specified by:
readBytein interfacejava.io.DataInput- Throws:
java.io.IOException
-
readChar
char readChar() throws java.io.IOException- Specified by:
readCharin interfacejava.io.DataInput- Throws:
java.io.IOException
-
readDouble
double readDouble() throws java.io.IOException- Specified by:
readDoublein interfacejava.io.DataInput- Throws:
java.io.IOException
-
readFloat
float readFloat() throws java.io.IOException- Specified by:
readFloatin interfacejava.io.DataInput- Throws:
java.io.IOException
-
readLine
java.lang.String readLine() throws java.io.IOException- Specified by:
readLinein interfacejava.io.DataInput- Throws:
java.io.IOException
-
readShort
short readShort() throws java.io.IOException- Specified by:
readShortin interfacejava.io.DataInput- Throws:
java.io.IOException
-
readUTF
java.lang.String readUTF() throws java.io.IOException- Specified by:
readUTFin interfacejava.io.DataInput- Throws:
java.io.IOException
-
readUnsignedShort
int readUnsignedShort() throws java.io.IOException- Specified by:
readUnsignedShortin interfacejava.io.DataInput- Throws:
java.io.IOException
-
readUnsignedInt
long readUnsignedInt() throws java.io.IOException- Throws:
java.io.IOException
-
readID
long readID(int idSize) throws java.io.IOException- Throws:
java.io.IOException
-
close
void close() throws java.io.IOException- Throws:
java.io.IOException
-
-