Package org.apache.kerby
Class KOptions
java.lang.Object
org.apache.kerby.KOptions
A KOption container.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidbooleanbooleangetBooleanOption(KOption option, Boolean defaultValue) getDateOption(KOption option) getDirOption(KOption option) getFileOption(KOption option) intgetIntegerOption(KOption option) getOptionValue(KOption option) getStringOption(KOption option) static intparseDuration(String strValue) static booleanparseSetValue(KOptionInfo kopt, String strValue) Parse string value according to kopt type.
-
Constructor Details
-
KOptions
public KOptions()
-
-
Method Details
-
parseSetValue
Parse string value according to kopt type.- Parameters:
kopt- The koptionstrValue- The string value- Returns:
- true when successful, false otherwise
-
parseDuration
-
add
-
add
-
contains
-
getOptions
-
getOption
-
getOptionValue
-
getStringOption
-
getBooleanOption
-
getIntegerOption
-
getFileOption
-
getDirOption
-
getDateOption
-