public final class ParameterEvaluationUtils
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
checkDirectory(java.io.File location,
java.lang.String label,
com.beust.jcommander.JCommander commander)
Check whether the given handle refers to an existing directory.
|
static java.net.URL |
createURL(java.lang.String urlString,
java.lang.String label)
Create an URL from a given string.
|
static boolean |
isFileReadable(java.io.File file,
java.lang.String label,
com.beust.jcommander.JCommander commander)
Check whether a specified file is readable.
|
public static boolean checkDirectory(java.io.File location,
java.lang.String label,
com.beust.jcommander.JCommander commander)
location - path to the directorylabel - noun or phrase indicating the parameter of the given location, e.g., "input directory"commander - command line handler used to plot the usage messagepublic static boolean isFileReadable(java.io.File file,
java.lang.String label,
com.beust.jcommander.JCommander commander)
file - the file handlelabel - noun or phrase indicating the parameter of the given location, e.g., "configuration file"commander - command line handler used to plot the usage messagepublic static java.net.URL createURL(java.lang.String urlString,
java.lang.String label)
urlString - the url stringlabel - label used to indicate which stringCopyright 2020 Kieker Project, http://kieker-monitoring.net