public class WakeOnLan extends 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(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,
IOException
com.martiansoftware.jsap.JSAPExceptionIOExceptionpublic static void main(String[] args) throws com.martiansoftware.jsap.JSAPException, IOException
args - an array containing the commandline arguments, if anycom.martiansoftware.jsap.JSAPExceptionIOExceptionprotected 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