eWON JTK

com.ewon.ewonitf
Class EwonSystem

java.lang.Object
  extended by com.ewon.ewonitf.EwonSystem

public class EwonSystem
extends Object


Constructor Summary
EwonSystem()
           
 
Method Summary
static int getDirectInfoLong(String ParamName)
          Internal use for diagnosis information access
static long getSysUpTime()
           
static void setTime(long newTime)
          Update the system time.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EwonSystem

public EwonSystem()
Method Detail

setTime

public static void setTime(long newTime)
Update the system time. The time passed here can be obtained from the Calendar.getTimeInMillis() function (after the Calendar has been set by calling itf set function.

Parameters:
newTime - The difference, measured in milliseconds, between newTime time and midnight, January 1, 1970 UTC.

getSysUpTime

public static long getSysUpTime()
Returns:
the number of seconds since the system has started.

getDirectInfoLong

public static int getDirectInfoLong(String ParamName)
                             throws EWException
Internal use for diagnosis information access

Throws:
EWException

eWON JTK

www.eWON.biz: Your Eyes Watching Over Net