it.assist.jrecordbind.converters
Class LongConverter

java.lang.Object
  extended by it.assist.jrecordbind.converters.LongConverter
All Implemented Interfaces:
Converter

public class LongConverter
extends Object
implements Converter


Constructor Summary
LongConverter()
           
 
Method Summary
 Object convert(String value)
          Converts a String into an object, e.g. a Date
 String toString(Object value)
          Converts an object into string
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LongConverter

public LongConverter()
Method Detail

convert

public Object convert(String value)
Description copied from interface: Converter
Converts a String into an object, e.g. a Date

Specified by:
convert in interface Converter
Parameters:
value - the string to convert
Returns:
the converted object

toString

public String toString(Object value)
Description copied from interface: Converter
Converts an object into string

Specified by:
toString in interface Converter
Parameters:
value - the object to convert
Returns:
a string rapresentation of the object


Copyright © 2009-2011. All Rights Reserved.