public class DateConverter extends ConverterSupport
Date types.| Constructor and Description |
|---|
DateConverter() |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
convertToObject(String text)
Converts the supplied text in to an instance of the editor type.
|
protected String |
convertToString(Object value)
Converts the supplied object to text.
|
getAsText, getType, getValue, setAsText, setValue, toObject, toStringaddPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, isPaintable, paintValue, removePropertyChangeListener, setSource, supportsCustomEditorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddPropertyChangeListener, getCustomEditor, getJavaInitializationString, getTags, isPaintable, paintValue, removePropertyChangeListener, supportsCustomEditorprotected Object convertToObject(String text) throws Exception
ConverterSupportconvertToObject in class ConverterSupporttext - The text to convertToObjectException - Conversion failedprotected String convertToString(Object value)
ConverterSupportconvertToString in class ConverterSupportvalue - an instance of the editor typeCopyright © 2008-2012 Sonatype. All Rights Reserved.