org.apache.commons.convert
Class MiscConverters.StringToSimpleDateFormat
java.lang.Object
org.apache.commons.convert.AbstractConverter<String,SimpleDateFormat>
org.apache.commons.convert.MiscConverters.StringToSimpleDateFormat
- All Implemented Interfaces:
- Converter<String,SimpleDateFormat>, ConverterLoader
- Enclosing class:
- MiscConverters
public static class MiscConverters.StringToSimpleDateFormat
- extends AbstractConverter<String,SimpleDateFormat>
An object that converts a format String
to a
SimpleDateFormat
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MiscConverters.StringToSimpleDateFormat
public MiscConverters.StringToSimpleDateFormat()
convert
public SimpleDateFormat convert(String 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.