Class ServerAddressPropertyEditor
java.lang.Object
java.beans.PropertyEditorSupport
org.springframework.data.mongodb.config.ServerAddressPropertyEditor
- All Implemented Interfaces:
PropertyEditor
Parse a
String
to a ServerAddress
array. The format is host1:port1,host2:port2,host3:port3.- Author:
- Mark Pollack, Oliver Gierke, Thomas Darimont, Christoph Strobl
-
Constructor Summary
-
Method Summary
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getAsText, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor
-
Constructor Details
-
ServerAddressPropertyEditor
public ServerAddressPropertyEditor()
-
-
Method Details
-
setAsText
- Specified by:
setAsText
in interfacePropertyEditor
- Overrides:
setAsText
in classPropertyEditorSupport
-