|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwol.WakeOnLan
The only purpose of this class is to wake up a machine from the commandline
using WakeUpUtil
WakeUpUtil
Constructor Summary | |
WakeOnLan(JSAPResult cmdConfig)
|
Method Summary | |
protected static JSAP |
getOptions()
|
static void |
main(String[] args)
The WakeOnLan main method. |
protected void |
printHelpAndExit()
Prints the commandline help and exits with code 0. |
protected void |
printHelpAndExit(int exitCode)
Prints the commandline help and exists with the given code. |
protected void |
printVersionAndExit()
Print the WakeOnLan version and exit. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public WakeOnLan(JSAPResult cmdConfig) throws JSAPException, IOException
Method Detail |
public static void main(String[] args) throws JSAPException, IOException
args
- an array containing the commandline arguments, if any
JSAPException
IOException
protected void printHelpAndExit(int exitCode) throws JSAPException
exitCode
- the exit code
JSAPException
protected void printVersionAndExit()
protected void printHelpAndExit() throws JSAPException
JSAPException
protected static JSAP getOptions() throws JSAPException
JSAPException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |