net.smartlab.web.bean
Class TimeConverter

java.lang.Object
  extended by net.smartlab.web.bean.Converter
      extended by net.smartlab.web.bean.TimeConverter

public class TimeConverter
extends Converter

TODO documentation

Author:
rlogiacco

Field Summary
protected  int format
          TODO documentation
 
Constructor Summary
TimeConverter()
          TODO documentation
TimeConverter(int format)
          TODO documentation
 
Method Summary
 java.lang.Object convert(java.lang.Class type, java.lang.Object value, java.util.Locale locale)
          TODO documentation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

format

protected int format
TODO documentation

Constructor Detail

TimeConverter

public TimeConverter()
TODO documentation

Parameters:
format -

TimeConverter

public TimeConverter(int format)
TODO documentation

Parameters:
type -
format -
Method Detail

convert

public java.lang.Object convert(java.lang.Class type,
                                java.lang.Object value,
                                java.util.Locale locale)
                         throws ConversionException
Description copied from class: Converter
TODO documentation

Specified by:
convert in class Converter
Parameters:
type - the target type
value - the value to be converted
locale - the locale to be used for the conversion
Returns:
an instance of the specified type which represents the converted input value
Throws:
ConversionException - if something wrong occurs during conversion or if the conversion couldn't be performed
See Also:
Converter.convert(java.lang.Class, java.lang.Object, java.util.Locale)


Copyright © 2004-2009 The SmartWeb Team. All Rights Reserved.