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) |
protected Object |
toValue(String text) |
getAsText, getValue, setAsText, setTrimText, setValue
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, isPaintable, paintValue, removePropertyChangeListener, setSource, supportsCustomEditor
public VmPipeAddressEditor()
protected String toText(Object value)
toText
in class AbstractPropertyEditor
protected String defaultText()
defaultText
in class AbstractPropertyEditor
protected Object defaultValue()
defaultValue
in class AbstractPropertyEditor
protected Object toValue(String text) throws IllegalArgumentException
toValue
in class AbstractPropertyEditor
IllegalArgumentException
Copyright © 2004–2016 Apache MINA Project. All rights reserved.