Package com.sampullara.cli
Interface Args.ValueCreator
- Enclosing class:
Args
public static interface Args.ValueCreator
-
Method Summary
Modifier and TypeMethodDescriptioncreateValue(Class<?> type, String value) Creates a value object of the given type using the given string value representation;
-
Method Details
-
createValue
Creates a value object of the given type using the given string value representation;- Parameters:
type- the type to create an instance ofvalue- the string represented value of the object to create- Returns:
- null if the object could not be created, the value otherwise
-