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