Package de.sfuhrm.radiorecorder
Class Params
- java.lang.Object
-
- de.sfuhrm.radiorecorder.Params
-
public class Params extends Object
The command line parameters as a POJO. Must be created usingparse(java.lang.String[]).- Author:
- Stephan Fuhrmann
- See Also:
parse(java.lang.String[])
-
-
Constructor Summary
Constructors Constructor Description Params()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Paramsparse(String[] args)Parse the command line options.
-
-
-
Method Detail
-
parse
public static Params parse(String[] args)
Parse the command line options.- Parameters:
args- the command line args as passed to the main method of the program.- Returns:
- the parsed command line options or
nullif the program needs to exit.nullwill be returned if the command lines are wrong or the command line help was displayed.
-
-