org.openmobileis.common.context
Interface Plateform

All Known Implementing Classes:
DefaultPlateform

public interface Plateform

Title: OpenMobileIS project source
Description:

Since:
JDK 1.1
Version:
1.0.
Author:
Philippe Delrieu

Field Summary
static java.lang.String LINUXOS
           
static java.lang.String POCKETPCOS
           
static java.lang.String UNKNOWNOS
           
static java.lang.String WINOS
           
 
Method Summary
 java.lang.String getJVMSpecificationVersion()
          Return the JVM Specification version.
 java.lang.String getJVMVendor()
          Return the JVM vendor.
 java.lang.String getOpenMobileISMajorVersion()
          return the major version number of OpenMobileIS.
 java.lang.String getOpenMobileISMinorVersion()
          return the minir version number of OpenMobileIS.
 java.lang.String getOS()
          Return the OS of the plateform that execute the application.
 java.lang.String getOSVersion()
          Return the OS version of the plateform that execute the application.
 

Field Detail

LINUXOS

public static final java.lang.String LINUXOS
See Also:
Constant Field Values

WINOS

public static final java.lang.String WINOS
See Also:
Constant Field Values

POCKETPCOS

public static final java.lang.String POCKETPCOS
See Also:
Constant Field Values

UNKNOWNOS

public static final java.lang.String UNKNOWNOS
See Also:
Constant Field Values
Method Detail

getOS

public java.lang.String getOS()
Return the OS of the plateform that execute the application. OS can be WIN32, Linux, PPC, Unknown

Returns:

getOSVersion

public java.lang.String getOSVersion()
Return the OS version of the plateform that execute the application. Default implementation return the JVM property os.version

Returns:

getJVMVendor

public java.lang.String getJVMVendor()
Return the JVM vendor. Default implementation return JVM property java.vendor

Returns:

getJVMSpecificationVersion

public java.lang.String getJVMSpecificationVersion()
Return the JVM Specification version. Default implementation return the JVM property java.specification.version

Returns:

getOpenMobileISMajorVersion

public java.lang.String getOpenMobileISMajorVersion()
return the major version number of OpenMobileIS.

Returns:

getOpenMobileISMinorVersion

public java.lang.String getOpenMobileISMinorVersion()
return the minir version number of OpenMobileIS.

Returns:


Copyright 2006 OpenMobileIS. All Rights Reserved.