java.lang.Object
com.ibm.dtfj.corereaders.CoreReaderSupport
- All Implemented Interfaces:
ICoreFileReader,ResourceReleaser
- Direct Known Subclasses:
NewAixDump,NewElfDump,NewWinDump
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleancoreCheckOffset(long location) protected longprotected longprotected byteprotected byte[]coreReadBytes(int n) protected intprotected longprotected shortprotected voidcoreSeek(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 booleanis64Bit()protected abstract booleanbooleanvoidMethods declared in class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:ICoreFileReaderCreates 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:
getAddressSpacein interfaceICoreFileReader- Returns:
-
isTruncated
public boolean isTruncated()- Specified by:
isTruncatedin interfaceICoreFileReader- Returns:
- true if the core file is truncated, false otherwise
-
coreGetPosition
- Throws:
IOException
-
coreCheckOffset
- Throws:
IOException
-
releaseResources
- Specified by:
releaseResourcesin interfaceResourceReleaser- Throws:
IOException
-