public class WakeOnLan
extends java.lang.Object
WakeUpUtilWakeUpUtil| Constructor and Description |
|---|
WakeOnLan(com.martiansoftware.jsap.JSAPResult cmdConfig) |
| Modifier and Type | Method and Description |
|---|---|
protected static com.martiansoftware.jsap.JSAP |
getOptions() |
static void |
main(java.lang.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.
|
public WakeOnLan(com.martiansoftware.jsap.JSAPResult cmdConfig)
throws com.martiansoftware.jsap.JSAPException,
java.io.IOException
com.martiansoftware.jsap.JSAPExceptionjava.io.IOExceptionpublic static void main(java.lang.String[] args)
throws com.martiansoftware.jsap.JSAPException,
java.io.IOException
args - an array containing the commandline arguments, if anycom.martiansoftware.jsap.JSAPExceptionjava.io.IOExceptionprotected void printHelpAndExit(int exitCode)
throws com.martiansoftware.jsap.JSAPException
exitCode - the exit codecom.martiansoftware.jsap.JSAPExceptionprotected void printVersionAndExit()
protected void printHelpAndExit()
throws com.martiansoftware.jsap.JSAPException
com.martiansoftware.jsap.JSAPExceptionprotected static com.martiansoftware.jsap.JSAP getOptions()
throws com.martiansoftware.jsap.JSAPException
com.martiansoftware.jsap.JSAPException