|
" 2013 FRC Java API " |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.cldc.jna.Platform
public abstract class Platform
Provide simplified platform information
Field Summary | |
---|---|
protected static Hashtable |
commonMappings
|
static String |
PLATFORM_PACKAGE
|
Constructor Summary | |
---|---|
Platform()
|
Method Summary | |
---|---|
static String |
commonLibraryMapping(String genericName)
Some platforms have wildly different names for standard libraries. |
abstract boolean |
deleteNativeLibraryAfterVMExit()
|
static Platform |
getPlatform()
|
abstract String |
getPlatformNativePackageName()
Get the name of the package that contains the native implementations for this platform (solaris, linux, windows, etc): |
abstract String |
getPlatformPackageName()
Get the name of the package that contains the platform classes (posix, windows, etc): |
abstract boolean |
hasRuntimeExec()
|
abstract boolean |
isFreeBSD()
|
abstract boolean |
isLinux()
|
abstract boolean |
isMac()
|
abstract boolean |
isOpenBSD()
|
abstract boolean |
isSolaris()
|
abstract boolean |
isWindows()
|
abstract boolean |
isWindowsCE()
|
abstract boolean |
isX11()
|
String |
platformName()
Get the name of the package that contains the native implementation for this platform. |
String |
toString()
Returns a string representation of the object. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected static Hashtable commonMappings
public static final String PLATFORM_PACKAGE
Constructor Detail |
---|
public Platform()
Method Detail |
---|
public static Platform getPlatform()
public abstract boolean deleteNativeLibraryAfterVMExit()
public abstract boolean hasRuntimeExec()
public abstract boolean isFreeBSD()
public abstract boolean isLinux()
public abstract boolean isMac()
public abstract boolean isOpenBSD()
public abstract boolean isSolaris()
public abstract boolean isWindows()
public abstract boolean isWindowsCE()
public abstract boolean isX11()
public abstract String getPlatformPackageName()
public abstract String getPlatformNativePackageName()
public static String commonLibraryMapping(String genericName)
genericName
-
public String platformName()
public String toString()
Object
toString
method returns a string that
"textually represents" this object. The result should
be a concise but informative representation that is easy for a
person to read.
It is recommended that all subclasses override this method.
The toString
method for class Object
returns a string consisting of the name of the class of which the
object is an instance, the at-sign character `@
', and
the unsigned hexadecimal representation of the hash code of the
object. In other words, this method returns a string equal to the
value of:
getClass().getName() + '@' + Integer.toHexString(hashCode())
toString
in class Object
|
" 2013 FRC Java API " |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |