org.openmobileis.common.context
Class DefaultPlateform

java.lang.Object
  extended byorg.openmobileis.common.context.DefaultPlateform
All Implemented Interfaces:
Plateform

public class DefaultPlateform
extends java.lang.Object
implements Plateform

Title: OpenMobileIS project source
Description:

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

Field Summary
 java.lang.String jvm
           
 java.lang.String jvmspec
           
 java.lang.String os
           
 java.lang.String osversion
           
 
Fields inherited from interface org.openmobileis.common.context.Plateform
LINUXOS, POCKETPCOS, UNKNOWNOS, WINOS
 
Constructor Summary
DefaultPlateform()
           
 
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.
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

os

public java.lang.String os

osversion

public java.lang.String osversion

jvm

public java.lang.String jvm

jvmspec

public java.lang.String jvmspec
Constructor Detail

DefaultPlateform

public DefaultPlateform()
Method Detail

getOS

public java.lang.String getOS()
Description copied from interface: Plateform
Return the OS of the plateform that execute the application. OS can be WIN32, Linux, PPC, Unknown

Specified by:
getOS in interface Plateform
Returns:

getOSVersion

public java.lang.String getOSVersion()
Description copied from interface: Plateform
Return the OS version of the plateform that execute the application. Default implementation return the JVM property os.version

Specified by:
getOSVersion in interface Plateform
Returns:

getJVMVendor

public java.lang.String getJVMVendor()
Description copied from interface: Plateform
Return the JVM vendor. Default implementation return JVM property java.vendor

Specified by:
getJVMVendor in interface Plateform
Returns:

getJVMSpecificationVersion

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

Specified by:
getJVMSpecificationVersion in interface Plateform
Returns:

getOpenMobileISMajorVersion

public java.lang.String getOpenMobileISMajorVersion()
Description copied from interface: Plateform
return the major version number of OpenMobileIS.

Specified by:
getOpenMobileISMajorVersion in interface Plateform
Returns:

getOpenMobileISMinorVersion

public java.lang.String getOpenMobileISMinorVersion()
Description copied from interface: Plateform
return the minir version number of OpenMobileIS.

Specified by:
getOpenMobileISMinorVersion in interface Plateform
Returns:

main

public static void main(java.lang.String[] args)


Copyright 2006 OpenMobileIS. All Rights Reserved.