Package net.jsign.pe
Enum DataDirectoryType
- java.lang.Object
-
- java.lang.Enum<DataDirectoryType>
-
- net.jsign.pe.DataDirectoryType
-
- All Implemented Interfaces:
Serializable,Comparable<DataDirectoryType>
public enum DataDirectoryType extends Enum<DataDirectoryType>
Types of structures pointed in the "RVA & Sizes" table (data directory).- Since:
- 1.0
- Author:
- Emmanuel Bourg
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ARCHITECTUREReserved, must be 0BASE_RELOCATION_TABLEThe base relocation tableBOUND_IMPORT_TABLEThe bound import tableCERTIFICATE_TABLEThe attribute certificate tableCLR_RUNTIME_HEADERThe CLR runtime headerDEBUGThe debug data startingDELAY_LOAD_IMPORT_TABLEThe delay import descriptorEXCEPTION_TABLEThe exception tableEXPORT_TABLEThe export tableGLOBAL_POINTERThe RVA of the value to be stored in the global pointer register.IMPORT_ADDRESS_TABLEThe import address tableIMPORT_TABLEThe import tableLOAD_CONFIG_TABLEThe load configuration tableRESOURCE_TABLEThe resource tableTHREAD_LOCAL_STORAGE_TABLEThe thread local storage (TLS) table
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DataDirectoryTypevalueOf(String name)Returns the enum constant of this type with the specified name.static DataDirectoryType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EXPORT_TABLE
public static final DataDirectoryType EXPORT_TABLE
The export table
-
IMPORT_TABLE
public static final DataDirectoryType IMPORT_TABLE
The import table
-
RESOURCE_TABLE
public static final DataDirectoryType RESOURCE_TABLE
The resource table
-
EXCEPTION_TABLE
public static final DataDirectoryType EXCEPTION_TABLE
The exception table
-
CERTIFICATE_TABLE
public static final DataDirectoryType CERTIFICATE_TABLE
The attribute certificate table
-
BASE_RELOCATION_TABLE
public static final DataDirectoryType BASE_RELOCATION_TABLE
The base relocation table
-
DEBUG
public static final DataDirectoryType DEBUG
The debug data starting
-
ARCHITECTURE
public static final DataDirectoryType ARCHITECTURE
Reserved, must be 0
-
GLOBAL_POINTER
public static final DataDirectoryType GLOBAL_POINTER
The RVA of the value to be stored in the global pointer register. The size member of this structure must be set to zero.
-
THREAD_LOCAL_STORAGE_TABLE
public static final DataDirectoryType THREAD_LOCAL_STORAGE_TABLE
The thread local storage (TLS) table
-
LOAD_CONFIG_TABLE
public static final DataDirectoryType LOAD_CONFIG_TABLE
The load configuration table
-
BOUND_IMPORT_TABLE
public static final DataDirectoryType BOUND_IMPORT_TABLE
The bound import table
-
IMPORT_ADDRESS_TABLE
public static final DataDirectoryType IMPORT_ADDRESS_TABLE
The import address table
-
DELAY_LOAD_IMPORT_TABLE
public static final DataDirectoryType DELAY_LOAD_IMPORT_TABLE
The delay import descriptor
-
CLR_RUNTIME_HEADER
public static final DataDirectoryType CLR_RUNTIME_HEADER
The CLR runtime header
-
-
Method Detail
-
values
public static DataDirectoryType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DataDirectoryType c : DataDirectoryType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DataDirectoryType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-