V - constraint on the type of values being converted topublic interface ValueConverter<V>
| Modifier and Type | Method and Description |
|---|---|
V |
convert(String value)
Converts the given string value into a Java type.
|
String |
valuePattern()
Gives a string that describes the pattern of the values this converter expects, if any.
|
Class<V> |
valueType()
Gives the class of the type of values this converter converts to.
|
V convert(String value)
value - the string to convertValueConversionException - if a problem occurs while converting the valueClass<V> valueType()
String valuePattern()
date format string.null if there's nothing interesting hereCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.