- java.lang.Object
-
- com.ibm.dtfj.corereaders.CoreReaderSupport
-
- All Implemented Interfaces:
ICoreFileReader,ResourceReleaser
- Direct Known Subclasses:
NewAixDump,NewElfDump,NewWinDump
public abstract class CoreReaderSupport extends Object implements ICoreFileReader
-
-
Field Summary
Fields Modifier and Type Field Description protected J9RASReader_j9rasReader
-
Constructor Summary
Constructors Constructor Description CoreReaderSupport(DumpReader reader)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected booleancoreCheckOffset(long location)protected longcoreGetPosition()protected longcoreReadAddress()protected bytecoreReadByte()protected byte[]coreReadBytes(int n)protected intcoreReadInt()protected longcoreReadLong()protected shortcoreReadShort()protected voidcoreSeek(long position)protected abstract MemoryRange[]getMemoryRangesAsArray()protected abstract booleanis64Bit()protected abstract booleanisLittleEndian()-
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.ICoreFileReader
extract, getAdditionalFileNames, getAddressSpace, isTruncated
-
Methods declared in interface com.ibm.dtfj.corereaders.ResourceReleaser
releaseResources
-
-
-
-
Field Detail
-
_j9rasReader
protected J9RASReader _j9rasReader
-
-
Constructor Detail
-
CoreReaderSupport
public CoreReaderSupport(DumpReader reader)
-
-
Method Detail
-
getMemoryRangesAsArray
protected abstract MemoryRange[] getMemoryRangesAsArray()
-
isLittleEndian
protected abstract boolean isLittleEndian()
-
is64Bit
protected abstract boolean is64Bit()
-
coreReadInt
protected int coreReadInt() throws IOException- Throws:
IOException
-
coreSeek
protected void coreSeek(long position) throws IOException- Throws:
IOException
-
coreReadLong
protected long coreReadLong() throws IOException- Throws:
IOException
-
coreReadAddress
protected long coreReadAddress() throws IOException- Throws:
IOException
-
coreReadShort
protected short coreReadShort() throws IOException- Throws:
IOException
-
coreReadByte
protected byte coreReadByte() throws IOException- Throws:
IOException
-
coreReadBytes
protected byte[] coreReadBytes(int n) throws IOException- Throws:
IOException
-
coreGetPosition
protected long coreGetPosition() throws IOException- Throws:
IOException
-
coreCheckOffset
protected boolean coreCheckOffset(long location) throws IOException- Throws:
IOException
-
-