Class InetAddressEditor

  • All Implemented Interfaces:
    java.beans.PropertyEditor

    public class InetAddressEditor
    extends TextPropertyEditorSupport
    A property editor for InetAddress.
    Version:
    $Revision$
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object getValue()
      Returns a InetAddress for the input object converted to a string.
      • Methods inherited from class java.beans.PropertyEditorSupport

        addPropertyChangeListener, firePropertyChange, getAsText, getCustomEditor, getJavaInitializationString, getSource, getTags, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • InetAddressEditor

        public InetAddressEditor()
    • Method Detail

      • getValue

        public java.lang.Object getValue()
        Returns a InetAddress for the input object converted to a string.
        Specified by:
        getValue in interface java.beans.PropertyEditor
        Overrides:
        getValue in class java.beans.PropertyEditorSupport
        Returns:
        an InetAddress
        Throws:
        NestedRuntimeException - An UnknownHostException occured.