public enum OsPlatform extends java.lang.Enum<OsPlatform> implements Renderable
Enum Constant and Description |
---|
ALL |
LINUX_AMD64 |
LINUX_I386 |
SOLARIS_10_AMD64 |
SOLARIS_10_SPARC |
SOLARIS_10_SPARCV9 |
SOLARIS_10_X86 |
UNKNOWN |
WINDOWS_7_AMD64 |
WINDOWS_7_X86 |
WINDOWS_VISTA_AMD64 |
WINDOWS_VISTA_X86 |
WINDOWS_XP_AMD64 |
WINDOWS_XP_X86 |
Modifier and Type | Method and Description |
---|---|
static void |
checkCurrentPlatform() |
static OsPlatform |
fromOsInfo(OsInfo osInfo) |
static OsPlatform |
fromStrings(java.lang.String osTypeName,
java.lang.String osArchName) |
static OsPlatform |
fromValues(OsType osType,
OsArchitecture osArch) |
static OsPlatform |
getCurrentPlatform() |
OsArchitecture |
getOsArchitecture() |
OsType |
getOsType() |
java.awt.Color |
getRenderColor() |
javax.swing.Icon |
getRenderIcon() |
java.lang.String |
getRenderText() |
static OsPlatform |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OsPlatform[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OsPlatform UNKNOWN
public static final OsPlatform ALL
public static final OsPlatform WINDOWS_XP_X86
public static final OsPlatform WINDOWS_XP_AMD64
public static final OsPlatform WINDOWS_VISTA_X86
public static final OsPlatform WINDOWS_VISTA_AMD64
public static final OsPlatform WINDOWS_7_X86
public static final OsPlatform WINDOWS_7_AMD64
public static final OsPlatform SOLARIS_10_SPARC
public static final OsPlatform SOLARIS_10_SPARCV9
public static final OsPlatform SOLARIS_10_X86
public static final OsPlatform SOLARIS_10_AMD64
public static final OsPlatform LINUX_I386
public static final OsPlatform LINUX_AMD64
public static OsPlatform[] values()
for (OsPlatform c : OsPlatform.values()) System.out.println(c);
public static OsPlatform valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic OsType getOsType()
public OsArchitecture getOsArchitecture()
public java.awt.Color getRenderColor()
getRenderColor
in interface Renderable
public javax.swing.Icon getRenderIcon()
getRenderIcon
in interface Renderable
public java.lang.String getRenderText()
getRenderText
in interface Renderable
public static OsPlatform getCurrentPlatform()
public static void checkCurrentPlatform()
public static OsPlatform fromOsInfo(OsInfo osInfo)
public static OsPlatform fromStrings(java.lang.String osTypeName, java.lang.String osArchName)
public static OsPlatform fromValues(OsType osType, OsArchitecture osArch)
Copyright © 2014 EsprIT-Systems. All Rights Reserved.