Package org.jgroups.conf
Class PropertyConverters.Default
java.lang.Object
org.jgroups.conf.PropertyConverters.Default
- All Implemented Interfaces:
PropertyConverter
- Enclosing class:
PropertyConverters
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvert(Object obj, Class<?> propertyFieldType, String propertyName, String propertyValue, boolean check_scope, StackType ip_version) convert(Property ann, Object obj, Class<?> propertyFieldType, String propertyName, String propValue, boolean check_scope, StackType ip_version) protected static Inet6AddressConverts the value to a string.
-
Constructor Details
-
Default
public Default()
-
-
Method Details
-
convert
public Object convert(Object obj, Class<?> propertyFieldType, String propertyName, String propertyValue, boolean check_scope, StackType ip_version) throws Exception - Specified by:
convertin interfacePropertyConverter- Throws:
Exception
-
convert
public Object convert(Property ann, Object obj, Class<?> propertyFieldType, String propertyName, String propValue, boolean check_scope, StackType ip_version) throws Exception - Specified by:
convertin interfacePropertyConverter- Throws:
Exception
-
getScopedInetAddress
-
toString
Description copied from interface:PropertyConverterConverts 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:
toStringin interfacePropertyConverter- Parameters:
value-- Returns:
-