public final enum

OSType

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.pnfsoftware.jeb.util.base.OSType

Class Overview

Determine the current operating system. Limited to Linux, macOS, and Windows, running on x86, x64, or aarch64 processors.

Summary

Enum Values
OSType  LINUX32   
OSType  LINUX64   
OSType  LINUX_ARM64   
OSType  OSX32   
OSType  OSX64   
OSType  OSX_ARM64   
OSType  UNKNOWN   
OSType  WIN32   
OSType  WIN64   
OSType  WIN_ARM64   
Public Methods
static OSType determine()
String getFolderName()
boolean is32bit()
boolean is64bit()
boolean isKnown()
boolean isLinux()
boolean isMac()
boolean isWindows()
static OSType valueOf(String name)
final static OSType[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final OSType LINUX32

public static final OSType LINUX64

public static final OSType LINUX_ARM64

public static final OSType OSX32

public static final OSType OSX64

public static final OSType OSX_ARM64

public static final OSType UNKNOWN

public static final OSType WIN32

public static final OSType WIN64

public static final OSType WIN_ARM64

Public Methods

public static OSType determine ()

public String getFolderName ()

Returns
  • the folder name used by JEB to store OS-specific files for this operating system

public boolean is32bit ()

public boolean is64bit ()

public boolean isKnown ()

public boolean isLinux ()

public boolean isMac ()

public boolean isWindows ()

public static OSType valueOf (String name)

public static final OSType[] values ()