public class WakeOnLan
extends java.lang.Object
WakeUpUtil
WakeUpUtil
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.JSAPException
java.io.IOException
public 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.JSAPException
java.io.IOException
protected void printHelpAndExit(int exitCode) throws com.martiansoftware.jsap.JSAPException
exitCode
- the exit codecom.martiansoftware.jsap.JSAPException
protected void printVersionAndExit()
protected void printHelpAndExit() throws com.martiansoftware.jsap.JSAPException
com.martiansoftware.jsap.JSAPException
protected static com.martiansoftware.jsap.JSAP getOptions() throws com.martiansoftware.jsap.JSAPException
com.martiansoftware.jsap.JSAPException