public class

SubsystemType

extends DynamicEnum<E extends DynamicEnum<E>>
java.lang.Object
   ↳ com.pnfsoftware.jeb.util.base.DynamicEnum<E extends com.pnfsoftware.jeb.util.base.DynamicEnum<E>>
     ↳ com.pnfsoftware.jeb.core.units.codeobject.SubsystemType

Class Overview

Dynamic enumeration of subsystems/OS types.

Summary

Fields
public static final SubsystemType EFI Extensible Firmware Interface and Unified EFI
public static final SubsystemType LINUX Linux, generic
public static final SubsystemType MAC macOS, generic
public static final SubsystemType UNIX Unix-like, super generic
public static final SubsystemType UNKNOWN unknown subsystem
public static final SubsystemType WINDOWS Windows, generic
public static final SubsystemType WINDOWS_KERNEL Windows kernel-mode.
public static final SubsystemType WINDOWS_USER Windows user-mode (graphical, console).
public static final int builtinCount
protected static LinkedHashMap<String, SubsystemType> map
[Expand]
Inherited Fields
From class com.pnfsoftware.jeb.util.base.DynamicEnum
Protected Constructors
SubsystemType(int id, String name)
Public Methods
static int count()
boolean isUnixLike()
boolean isWindowsLike()
int ordinal()
static SubsystemType register(int id, String name)
static boolean unregister(String name)
static SubsystemType valueOf(String name)
static SubsystemType valueOf(int id)
static Collection<SubsystemType> values()
[Expand]
Inherited Methods
From class com.pnfsoftware.jeb.util.base.DynamicEnum
From class java.lang.Object

Fields

public static final SubsystemType EFI

Extensible Firmware Interface and Unified EFI

public static final SubsystemType LINUX

Linux, generic

public static final SubsystemType MAC

macOS, generic

public static final SubsystemType UNIX

Unix-like, super generic

public static final SubsystemType UNKNOWN

unknown subsystem

public static final SubsystemType WINDOWS

Windows, generic

public static final SubsystemType WINDOWS_KERNEL

Windows kernel-mode.

public static final SubsystemType WINDOWS_USER

Windows user-mode (graphical, console).

public static final int builtinCount

protected static LinkedHashMap<String, SubsystemType> map

Protected Constructors

protected SubsystemType (int id, String name)

Public Methods

public static int count ()

public boolean isUnixLike ()

public boolean isWindowsLike ()

public int ordinal ()

public static SubsystemType register (int id, String name)

public static boolean unregister (String name)

public static SubsystemType valueOf (String name)

public static SubsystemType valueOf (int id)

public static Collection<SubsystemType> values ()