Package org.jgroups.conf
Class PropertyConverters.InitialHosts
- java.lang.Object
-
- org.jgroups.conf.PropertyConverters.InitialHosts
-
- All Implemented Interfaces:
PropertyConverter
- Enclosing class:
- PropertyConverters
public static class PropertyConverters.InitialHosts extends java.lang.Object implements PropertyConverter
-
-
Constructor Summary
Constructors Constructor Description InitialHosts()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
convert(java.lang.Object obj, java.lang.Class<?> propertyFieldType, java.lang.String propertyName, java.lang.String prop_val, boolean check_scope, StackType ip_version)
java.lang.String
toString(java.lang.Object value)
Converts the value to a string.
-
-
-
Method Detail
-
convert
public java.lang.Object convert(java.lang.Object obj, java.lang.Class<?> propertyFieldType, java.lang.String propertyName, java.lang.String prop_val, boolean check_scope, StackType ip_version) throws java.lang.Exception
- Specified by:
convert
in interfacePropertyConverter
- Throws:
java.lang.Exception
-
toString
public java.lang.String toString(java.lang.Object value)
Description copied from interface:PropertyConverter
Converts the value to a string. The default is to simply invoke Object.toString(), however, some objects need to be printed specially, e.g. a long array etc.- Specified by:
toString
in interfacePropertyConverter
- Returns:
-
-