Class JCImageModule
java.lang.Object
com.ibm.dtfj.image.javacore.JCImageModule
- All Implemented Interfaces:
ImageModule
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addProperty
(String key, String value) void
addSymbol
(ImageSymbol symbol) NON-DTFJ.long
Get the address at which the module or executable was loaded.getName()
Get the file name of the shared library.Get the table of properties associated with this module.Get the collection of sections that make up this library.Provides a collection of symbols defined by the library.
-
Constructor Details
-
JCImageModule
-
-
Method Details
-
getName
Description copied from interface:ImageModule
Get the file name of the shared library.- Specified by:
getName
in interfaceImageModule
- Returns:
- the file name of the shared library.
- Throws:
CorruptDataException
- If the module is corrupt and the original file cannot be determined.
-
getInternalName
NON-DTFJ. Used for internal building purposes. Do NOT call outside the building process. Use the DTFJ alternative instead. -
getProperties
Description copied from interface:ImageModule
Get the table of properties associated with this module.- Specified by:
getProperties
in interfaceImageModule
- Returns:
- a table of properties associated with this module.
Values typically defined in this table include:
- "version" -- version information about the module
- Throws:
CorruptDataException
-
addProperty
-
getSections
Description copied from interface:ImageModule
Get the collection of sections that make up this library.- Specified by:
getSections
in interfaceImageModule
- Returns:
- a collection of sections that make up this library.
- See Also:
-
getSymbols
Description copied from interface:ImageModule
Provides a collection of symbols defined by the library. This list is likely incomplete as many symbols may be private, symbols may have been stripped from the library, or symbols may not by available in the image.- Specified by:
getSymbols
in interfaceImageModule
- Returns:
- a collection of symbols which are defined by this library.
- See Also:
-
addSymbol
-
getLoadAddress
Description copied from interface:ImageModule
Get the address at which the module or executable was loaded.- Specified by:
getLoadAddress
in interfaceImageModule
- Returns:
- the address
- Throws:
DataUnavailable
-