Package net.jsign.pe
Enum Subsystem
- java.lang.Object
-
- java.lang.Enum<Subsystem>
-
- net.jsign.pe.Subsystem
-
- All Implemented Interfaces:
Serializable,Comparable<Subsystem>
public enum Subsystem extends Enum<Subsystem>
The subsystem of an executable file.- Since:
- 1.0
- Author:
- Emmanuel Bourg
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EFI_APPLICATIONAn Extensible Firmware Interface (EFI) applicationEFI_BOOT_SERVICE_DRIVERAn EFI driver with boot servicesEFI_ROMAn EFI ROM imageEFI_RUNTIME_DRIVERAn EFI driver with run-time servicesNATIVEDevice drivers and native Windows processesPOSIX_CUIThe Posix character subsystemUNKNOWNAn unknown subsystemWINDOWS_CE_GUIWindows CEWINDOWS_CUIThe Windows character subsystemWINDOWS_GUIThe Windows graphical user interface (GUI) subsystemXBOXXBOX
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SubsystemvalueOf(String name)Returns the enum constant of this type with the specified name.static Subsystem[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WINDOWS_GUI
public static final Subsystem WINDOWS_GUI
The Windows graphical user interface (GUI) subsystem
-
WINDOWS_CUI
public static final Subsystem WINDOWS_CUI
The Windows character subsystem
-
WINDOWS_CE_GUI
public static final Subsystem WINDOWS_CE_GUI
Windows CE
-
EFI_APPLICATION
public static final Subsystem EFI_APPLICATION
An Extensible Firmware Interface (EFI) application
-
EFI_BOOT_SERVICE_DRIVER
public static final Subsystem EFI_BOOT_SERVICE_DRIVER
An EFI driver with boot services
-
EFI_RUNTIME_DRIVER
public static final Subsystem EFI_RUNTIME_DRIVER
An EFI driver with run-time services
-
-
Method Detail
-
values
public static Subsystem[] 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 (Subsystem c : Subsystem.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Subsystem 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
-
-