Class CoreReaderSupport
java.lang.Object
com.ibm.dtfj.corereaders.CoreReaderSupport
- All Implemented Interfaces:
ICoreFileReader
,ResourceReleaser
- Direct Known Subclasses:
NewAixDump
,NewElfDump
,NewWinDump
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
coreCheckOffset
(long location) protected long
protected long
protected byte
protected byte[]
coreReadBytes
(int n) protected int
protected long
protected short
protected void
coreSeek
(long position) Creates a representation of the address space capable of reading data from memory as a flat address space even though it may be fragmented across regions of several files or transport media.protected abstract MemoryRange[]
protected abstract boolean
is64Bit()
protected abstract boolean
boolean
void
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
-
Field Details
-
_j9rasReader
-
-
Constructor Details
-
CoreReaderSupport
-
-
Method Details
-
getMemoryRangesAsArray
-
isLittleEndian
protected abstract boolean isLittleEndian() -
is64Bit
protected abstract boolean is64Bit() -
coreReadInt
- Throws:
IOException
-
coreSeek
- Throws:
IOException
-
coreReadLong
- Throws:
IOException
-
coreReadAddress
- Throws:
IOException
-
coreReadShort
- Throws:
IOException
-
coreReadByte
- Throws:
IOException
-
coreReadBytes
- Throws:
IOException
-
getAddressSpace
Description copied from interface:ICoreFileReader
Creates a representation of the address space capable of reading data from memory as a flat address space even though it may be fragmented across regions of several files or transport media. Note that this method is expected to be called several times and should always return the same instance.- Specified by:
getAddressSpace
in interfaceICoreFileReader
- Returns:
-
isTruncated
public boolean isTruncated()- Specified by:
isTruncated
in interfaceICoreFileReader
- Returns:
- true if the core file is truncated, false otherwise
-
coreGetPosition
- Throws:
IOException
-
coreCheckOffset
- Throws:
IOException
-
releaseResources
- Specified by:
releaseResources
in interfaceResourceReleaser
- Throws:
IOException
-