- java.lang.Object
-
- com.ibm.dtfj.corereaders.DumpReader
-
- All Implemented Interfaces:
ResourceReleaser
- Direct Known Subclasses:
LittleEndianDumpReader
public class DumpReader extends Object implements ResourceReleaser
-
-
Constructor Summary
Constructors Constructor Description DumpReader(ImageInputStream f, boolean is64Bit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getPosition()
long
readAddress()
byte
readByte()
byte[]
readBytes(int n)
int
readInt()
long
readLong()
short
readShort()
void
seek(long position)
-
Methods declared in class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods declared in interface com.ibm.dtfj.corereaders.ResourceReleaser
releaseResources
-
-
-
-
Constructor Detail
-
DumpReader
public DumpReader(ImageInputStream f, boolean is64Bit)
-
-
Method Detail
-
readBytes
public byte[] readBytes(int n) throws IOException
- Throws:
IOException
-
readInt
public int readInt() throws IOException
- Throws:
IOException
-
seek
public void seek(long position) throws IOException
- Throws:
IOException
-
readLong
public long readLong() throws IOException
- Throws:
IOException
-
readShort
public short readShort() throws IOException
- Throws:
IOException
-
readByte
public byte readByte() throws IOException
- Throws:
IOException
-
readAddress
public long readAddress() throws IOException
- Throws:
IOException
-
getPosition
public long getPosition() throws IOException
- Throws:
IOException
-
-