public abstract class AbstractValueToStringConverter extends Object implements ValueToStringConverter
converters
which are null safe.Modifier and Type | Field and Description |
---|---|
protected static String |
NULL_STRING
String representation of
null value. |
Modifier | Constructor and Description |
---|---|
protected |
AbstractValueToStringConverter()
Constructs a new instance.
|
Modifier and Type | Method and Description |
---|---|
String |
convert(Object value)
Converts a parameter value to string representation.
|
protected abstract String |
convert2(Object value)
Converts a parameter value to string representation.
|
protected static final String NULL_STRING
null
value.protected AbstractValueToStringConverter()
public String convert(Object value)
convert
in interface ValueToStringConverter
value
- the parameter value (can be null
).null
).Copyright © 2015–2016 gabrys.biz. All rights reserved.