org.springframework.boot.bind
Class InetAddressEditor

java.lang.Object
  extended by java.beans.PropertyEditorSupport
      extended by org.springframework.boot.bind.InetAddressEditor
All Implemented Interfaces:
PropertyEditor

public class InetAddressEditor
extends PropertyEditorSupport
implements PropertyEditor

PropertyEditor for InetAddress objects.

Author:
Dave Syer

Constructor Summary
InetAddressEditor()
           
 
Method Summary
 String getAsText()
           
 void setAsText(String text)
           
 
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.beans.PropertyEditor
addPropertyChangeListener, getCustomEditor, getJavaInitializationString, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setValue, supportsCustomEditor
 

Constructor Detail

InetAddressEditor

public InetAddressEditor()
Method Detail

getAsText

public String getAsText()
Specified by:
getAsText in interface PropertyEditor
Overrides:
getAsText in class PropertyEditorSupport

setAsText

public void setAsText(String text)
               throws IllegalArgumentException
Specified by:
setAsText in interface PropertyEditor
Overrides:
setAsText in class PropertyEditorSupport
Throws:
IllegalArgumentException


Copyright © 2013. All Rights Reserved.