|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.vraptor.converter.joda.YearMonthDayConverter
@Deprecated public class YearMonthDayConverter
Locale based joda-time YearMonthDay converter. Uses the error key
invalid_date if unable to parse its information.
Same semantics as LocaleCalendarDateConverter.
| Constructor Summary | |
|---|---|
YearMonthDayConverter()
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 YearMonthDayConverter()
| 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 | |||||||||