net.sf.easyweb4j.model.converters
Class StringConverter

java.lang.Object
  extended by net.sf.easyweb4j.model.converters.StringConverter
All Implemented Interfaces:
Converter

public class StringConverter
extends Object
implements Converter

Handles conversion of Strings. Only conversion it handles is it returns null in the place of empty string inputs.

Author:
Chandra Sekar S

Constructor Summary
StringConverter()
           
 
Method Summary
 Object convert(String[] values)
          Converts given input strings (extracted from the parameter) to a basic type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringConverter

public StringConverter()
Method Detail

convert

public Object convert(String[] values)
Description copied from interface: Converter
Converts given input strings (extracted from the parameter) to a basic type.

Specified by:
convert in interface Converter
Parameters:
values - The parameter values.
Returns:
The converted object.


Copyright © 2009-2010 Chandra Sekar S. All Rights Reserved.