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 SystemTypeFREEBSD_AMD64static SystemTypeLINUX_AMD64static SystemTypeLINUX_X86static SystemTypeLINUX_X86_64static SystemTypeMAC_PPCstatic SystemTypeMAC_X86static SystemTypeUNKNOWNstatic SystemTypeWINDOWS_X86static SystemTypeWINDOWS_X86_64
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)static SystemTypeget(java.lang.String name)java.lang.StringgetName()inthashCode()booleanisFreeBsd()booleanisLinux()booleanisMac()booleanisUnknown()booleanisWindows()java.lang.StringtoString()
-
-
-
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:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
get
public static SystemType get(java.lang.String name)
-
-