|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsysteminformationmonitor.system.object.UptimeObject
public class UptimeObject
Messenger Object holding information related to program up time.
| Constructor Summary | |
|---|---|
UptimeObject()
|
|
UptimeObject(long uptime)
Create an UptimeObject with given uptime in long value. |
|
| Method Summary | |
|---|---|
java.lang.String |
getUptime()
Return formatted string of up time stored in this object. |
void |
setUptime(double uptime)
Set the uptime of this object. |
void |
setUptime(long uptime)
Set the uptime of this object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UptimeObject()
public UptimeObject(long uptime)
uptime - uptime in long value| Method Detail |
|---|
public java.lang.String getUptime()
public void setUptime(double uptime)
uptime - current uptime in doublepublic void setUptime(long uptime)
uptime - current uptime in long
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||