public class VmPipeAddressEditor extends AbstractPropertyEditor
PropertyEditor which converts a String into
a VmPipeAddress and vice versa. Valid values specify an integer port
number optionally prefixed with a ':'. E.g.: :80, 22.VmPipeAddress| Constructor and Description |
|---|
VmPipeAddressEditor() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
defaultText() |
protected Object |
defaultValue() |
protected String |
toText(Object value)
Returns a String representation of the given value
|
protected Object |
toValue(String text)
Returns an instance from a String representation of an object
|
getAsText, getValue, setAsText, setTrimText, setValueaddPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, isPaintable, paintValue, removePropertyChangeListener, setSource, supportsCustomEditorprotected String toText(Object value)
AbstractPropertyEditortoText in class AbstractPropertyEditorvalue - The valueprotected String defaultText()
defaultText in class AbstractPropertyEditorprotected Object defaultValue()
defaultValue in class AbstractPropertyEditorprotected Object toValue(String text) throws IllegalArgumentException
AbstractPropertyEditortoValue in class AbstractPropertyEditortext - The String representation to convertIllegalArgumentExceptionCopyright © 2004–2021 Apache MINA Project. All rights reserved.