Package org.red5.spring
Class InetAddressEditor
- java.lang.Object
-
- java.beans.PropertyEditorSupport
-
- org.red5.spring.InetAddressEditor
-
- All Implemented Interfaces:
PropertyEditor
public class InetAddressEditor extends PropertyEditorSupport
Custom property editor for java.net.InetAddress class- Author:
- Rostislav Matl
-
-
Constructor Summary
Constructors Constructor Description InetAddressEditor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAsText()
Get text representation of the value.void
setAsText(String textValue)
-
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor
-
-
-
-
Method Detail
-
setAsText
public void setAsText(String textValue)
- Specified by:
setAsText
in interfacePropertyEditor
- Overrides:
setAsText
in classPropertyEditorSupport
-
getAsText
public String getAsText()
Get text representation of the value.- Specified by:
getAsText
in interfacePropertyEditor
- Overrides:
getAsText
in classPropertyEditorSupport
- Returns:
- InetAddress text.
-
-