org.openmobileis.embedded.util
Class DefaultSystemAPI

java.lang.Object
  extended byorg.openmobileis.embedded.util.DefaultSystemAPI
All Implemented Interfaces:
ISystemAPI

public class DefaultSystemAPI
extends java.lang.Object
implements ISystemAPI

Title: OpenMobileIS project source
Description: Helper class to access native OS specific task that is not correcly done by the JVM.

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

Constructor Summary
DefaultSystemAPI()
           
 
Method Summary
 long currentTimeInMillis()
          Get time stamp, same behavior as system.currentTimeMillis in milli Used to fix Creme V3.1 Bug
 int execProgram(java.lang.String path, java.lang.String args)
          Execute a program on mobile.
 int execProgramAndWait(java.lang.String path, java.lang.String args)
          Execute a program on mobile and wait until the program ended
 java.lang.String getSystemUniqueID()
          Return an unique Id identifying the terminal.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultSystemAPI

public DefaultSystemAPI()
Method Detail

execProgramAndWait

public int execProgramAndWait(java.lang.String path,
                              java.lang.String args)
                       throws OpenMISException
Execute a program on mobile and wait until the program ended

Specified by:
execProgramAndWait in interface ISystemAPI
Throws:
OpenMISException

execProgram

public int execProgram(java.lang.String path,
                       java.lang.String args)
                throws OpenMISException
Execute a program on mobile.

Specified by:
execProgram in interface ISystemAPI
Throws:
OpenMISException

currentTimeInMillis

public long currentTimeInMillis()
Get time stamp, same behavior as system.currentTimeMillis in milli Used to fix Creme V3.1 Bug

Specified by:
currentTimeInMillis in interface ISystemAPI

getSystemUniqueID

public java.lang.String getSystemUniqueID()
Return an unique Id identifying the terminal.

Specified by:
getSystemUniqueID in interface ISystemAPI
Returns:


Copyright 2006 OpenMobileIS. All Rights Reserved.