Package net.sf.jnati
Class SystemType
- java.lang.Object
-
- net.sf.jnati.SystemType
-
public class SystemType extends java.lang.Object
- Author:
- Sam Adams
-
-
Field Summary
Fields Modifier and Type Field Description static SystemType
FREEBSD_AMD64
static SystemType
LINUX_AMD64
static SystemType
LINUX_X86
static SystemType
LINUX_X86_64
static SystemType
MAC_PPC
static SystemType
MAC_X86
static SystemType
UNKNOWN
static SystemType
WINDOWS_X86
static SystemType
WINDOWS_X86_64
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
static SystemType
get(java.lang.String name)
java.lang.String
getName()
int
hashCode()
boolean
isFreeBsd()
boolean
isLinux()
boolean
isMac()
boolean
isUnknown()
boolean
isWindows()
java.lang.String
toString()
-
-
-
Field Detail
-
WINDOWS_X86
public static final SystemType WINDOWS_X86
-
WINDOWS_X86_64
public static final SystemType WINDOWS_X86_64
-
LINUX_X86
public static final SystemType LINUX_X86
-
LINUX_X86_64
public static final SystemType LINUX_X86_64
-
LINUX_AMD64
public static final SystemType LINUX_AMD64
-
MAC_X86
public static final SystemType MAC_X86
-
MAC_PPC
public static final SystemType MAC_PPC
-
FREEBSD_AMD64
public static final SystemType FREEBSD_AMD64
-
UNKNOWN
public static final SystemType UNKNOWN
-
-
Method Detail
-
isWindows
public boolean isWindows()
-
isLinux
public boolean isLinux()
-
isMac
public boolean isMac()
-
isUnknown
public boolean isUnknown()
-
isFreeBsd
public boolean isFreeBsd()
-
getName
public java.lang.String getName()
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
get
public static SystemType get(java.lang.String name)
-
-