org.apache.commons.convert
Class MiscConverters.SimpleDateFormatToString
java.lang.Object
org.apache.commons.convert.AbstractConverter<SimpleDateFormat,String>
org.apache.commons.convert.MiscConverters.SimpleDateFormatToString
- All Implemented Interfaces:
- Converter<SimpleDateFormat,String>, ConverterLoader
- Enclosing class:
- MiscConverters
public static class MiscConverters.SimpleDateFormatToString
- extends AbstractConverter<SimpleDateFormat,String>
An object that converts a SimpleDateFormat
to a
format pattern String
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MiscConverters.SimpleDateFormatToString
public MiscConverters.SimpleDateFormatToString()
convert
public String convert(SimpleDateFormat obj)
throws ConversionException
- Description copied from interface:
Converter
- Converts
obj
to T
.
- Parameters:
obj
- The source Object
to convert
- Returns:
- The converted
Object
- Throws:
ConversionException
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.