|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.vraptor.converter.joda.TimeOfDayConverter
@Deprecated public class TimeOfDayConverter
Locale based joda-time TimeOfDay converter. Uses the error key
invalid_time if unable to parse its information.
Same semantics as LocaleCalendarTimeConverter.
| Constructor Summary | |
|---|---|
TimeOfDayConverter()
Deprecated. |
|
| Method Summary | |
|---|---|
Object |
convert(String value,
Class<?> type,
LogicRequest context)
Deprecated. Converts a value to an specific type |
Class<?>[] |
getSupportedTypes()
Deprecated. Returns the list of supported types |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TimeOfDayConverter()
| Method Detail |
|---|
public Object convert(String value,
Class<?> type,
LogicRequest context)
throws ConversionException
Converter
convert in interface Convertervalue - current valuetype - desired type
ConversionException - some convertion problem hapennedpublic Class<?>[] getSupportedTypes()
Converter
getSupportedTypes in interface Converter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||