Package org.red5.spring
Class InetAddressEditor
java.lang.Object
java.beans.PropertyEditorSupport
org.red5.spring.InetAddressEditor
- All Implemented Interfaces:
PropertyEditor
Custom property editor for java.net.InetAddress class
- Author:
- Rostislav Matl
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor
-
Field Details
-
log
private static org.slf4j.Logger log -
ipv4
-
ipv6
-
-
Constructor Details
-
InetAddressEditor
public InetAddressEditor()
-
-
Method Details
-
setAsText
- Specified by:
setAsText
in interfacePropertyEditor
- Overrides:
setAsText
in classPropertyEditorSupport
-
getAsText
Get text representation of the value.- Specified by:
getAsText
in interfacePropertyEditor
- Overrides:
getAsText
in classPropertyEditorSupport
- Returns:
- InetAddress text.
-