net.sf.seaf.util.convert.simple
Class ConverterToString
java.lang.Object
net.sf.seaf.util.convert.simple.ConverterToString
public class ConverterToString
- extends Object
Converter of any Object to String.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConverterToString
public ConverterToString()
convert
public static String convert(Object o)
- Converts an Object to String value, keeping null as null.
- Parameters:
o - Object to be converted
- Returns:
- String The String value of the object
convert
public static String convert(Object o,
TemporalType type)
- Converts an Object of a temporal type to String value.
Keeps null as null.
- Parameters:
o - Object to be convertedtype - The type of the object
- Returns:
- String The String value of the object
Copyright © 2008-2011 SEAF. All Rights Reserved.