| Modifier and Type | Method and Description |
|---|---|
| public short | |
| public COFFSymbol | getCOFFSymbol(int index)
Retrieves the COFF symbol at the given index, between 0 and getNumberOfSymbols() - 1. |
| public short | |
| public short | getNumberOfSections()
Number of sections; indicates size of the Section Table, which immediately follows the headers. |
| public int | getNumberOfStrings()
Returns the number of strings in the String Table, which immediately follows the COFF Symbol Table. |
| public int | |
| public OptionalHeader | |
| public int | |
| public SectionHeader | getSectionHeader(int index)
Retrieves the section header at the given index, between 1 and getNumberOfSections() Note This index is one-based, so the first section is numbered one, not zero. |
| public short | getSizeOfOptionalHeader()
Size of the optional header, which is required for executable files but not for object files. |
| public String | |
| public int | |
| public boolean |
| getCharacteristics | back to summary |
|---|---|
| public short getCharacteristics() Gets the union of all characteristics set for this object or
image file. See | |
| getCOFFSymbol | back to summary |
|---|---|
| public COFFSymbol getCOFFSymbol(int index) Retrieves the COFF symbol at the given index, between 0 and getNumberOfSymbols() - 1. This is distinct from CodeView information. | |
| getMachineType | back to summary |
|---|---|
| public short getMachineType() Returns one of the constants in | |
| getNumberOfSections | back to summary |
|---|---|
| public short getNumberOfSections() Number of sections; indicates size of the Section Table, which immediately follows the headers. | |
| getNumberOfStrings | back to summary |
|---|---|
| public int getNumberOfStrings() Returns the number of strings in the String Table, which immediately follows the COFF Symbol Table. | |
| getNumberOfSymbols | back to summary |
|---|---|
| public int getNumberOfSymbols() Number of entries in the symbol table. This data can be used in locating the string table, which immediately follows the symbol table. | |
| getOptionalHeader | back to summary |
|---|---|
| public OptionalHeader getOptionalHeader() throws COFFException Returns the optional header if one is present or null if not. | |
| getPointerToSymbolTable | back to summary |
|---|---|
| public int getPointerToSymbolTable() File offset of the COFF symbol table or 0 if none is present. | |
| getSectionHeader | back to summary |
|---|---|
| public SectionHeader getSectionHeader(int index) Retrieves the section header at the given index, between 1 and getNumberOfSections() Note This index is one-based, so the first section is numbered one, not zero. | |
| getSizeOfOptionalHeader | back to summary |
|---|---|
| public short getSizeOfOptionalHeader() Size of the optional header, which is required for executable files but not for object files. An object file should have a value of 0 here. | |
| getString | back to summary |
|---|---|
| public String getString(int i) Retrieves the ith string (0.. | |
| getTimeDateStamp | back to summary |
|---|---|
| public int getTimeDateStamp() Time and date the file was created. | |
| hasCharacteristic | back to summary |
|---|---|
| public boolean hasCharacteristic(short characteristic) Indicates whether this file has the given characteristic. The
argument must be one of the constants specified in | |