org.vraptor.converter.joda
Class TimeOfDayConverter

java.lang.Object
  extended by org.vraptor.converter.joda.TimeOfDayConverter
All Implemented Interfaces:
Converter

Deprecated.

@Deprecated
public class TimeOfDayConverter
extends Object
implements Converter

Locale based joda-time TimeOfDay converter. Uses the error key invalid_time if unable to parse its information.

Same semantics as LocaleCalendarTimeConverter.

Author:
Fabio Kung

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

TimeOfDayConverter

public TimeOfDayConverter()
Deprecated. 
Method Detail

convert

public Object convert(String value,
                      Class<?> type,
                      LogicRequest context)
               throws ConversionException
Deprecated. 
Description copied from interface: Converter
Converts a value to an specific type

Specified by:
convert in interface Converter
Parameters:
value - current value
type - desired type
Returns:
the converted value
Throws:
ConversionException - some convertion problem hapenned

getSupportedTypes

public Class<?>[] getSupportedTypes()
Deprecated. 
Description copied from interface: Converter
Returns the list of supported types

Specified by:
getSupportedTypes in interface Converter
Returns:
array of supported types


Copyright © 2004-2008 VRaptor. All Rights Reserved.