java.beans.PropertyEditor
, Converter
public class DateEditor extends AbstractConverter
Constructor | Description |
---|---|
DateEditor() |
Modifier and Type | Method | Description |
---|---|---|
protected java.lang.Object |
toObjectImpl(java.lang.String text) |
Convert the text value of the property into a Date object instance.
|
protected java.lang.String |
toStringImpl(java.lang.Object value) |
Converts the supplied object to text.
|
getAsText, getType, getValue, setAsText, setValue, toObject, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
protected java.lang.Object toObjectImpl(java.lang.String text)
toObjectImpl
in class AbstractConverter
text
- the text to convertPropertyEditorException
- Unable to parse the string value into a Date.protected java.lang.String toStringImpl(java.lang.Object value)
AbstractConverter
toStringImpl
in class AbstractConverter
value
- an instance of the editor typeCopyright © 2005–2018. All rights reserved.