|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectibis.util.Postpone
A class that allows you to postpone starting a program for a specified number of seconds. This may be useful under Windows, which does not have a sleep command.
Constructor Summary | |
Postpone()
|
Method Summary | |
static void |
main(java.lang.String[] args)
Main program. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Postpone()
Method Detail |
public static void main(java.lang.String[] args)
main
method in the class specified by
the second argument, and invokes it with the rest of the arguments
after sleeping for the number of seconds specified by the first
argument.
args
- the array of arguments. The first argument specifies
the number of seconds to sleep, the second argument specifies the
name of the class whose main
method must be invoked,
the rest of the arguments are passed on to the main
invocation.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |