N
- public class FormattedInput<N> extends ParseAbstractInput<N>
validators
Constructor and Description |
---|
FormattedInput(java.text.Format f) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getString(N val)
get a String representation of an Object that is compatible with the way
the input is parsed
|
N |
parseValue(java.lang.String v)
Parse a String into the correct type for this input.
|
accept, getBoxWidth, getMaxResultLength, getSingle, setBoxWidth, setMaxResultLength, setSingle
getValue, setKey, setValue
addValidator, convert, getKey, getPrettyString, getString, removeValidator, validate, validateInner
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getString, parse
addValidator, convert, getKey, getPrettyString, getValue, isEmpty, removeValidator, setKey, setValue, validate
public N parseValue(java.lang.String v) throws ParseException
ParseInput
Input.getString(Object)
method.ParseException