Package de.sfuhrm.radiorecorder
Klasse Params
java.lang.Object
de.sfuhrm.radiorecorder.Params
The command line parameters as a POJO.
Must be created using
parse(java.lang.String[]).- Autor:
- Stephan Fuhrmann
- Siehe auch:
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
-
Konstruktordetails
-
Params
public Params()
-
-
Methodendetails
-
parse
Parse the command line options.- Parameter:
args- the command line args as passed to the main method of the program.- Gibt zurück:
- 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.
-
toMillis
Convert the textual duration towards a millisecond duration.- Parameter:
strDuration- a textual duration with the letters matching towardsDuration.parse(CharSequence).- Gibt zurück:
- number of milliseconds parsed.
- Löst aus:
DateTimeParseException- if the text cannot be parsed to a duration.
-