net.sf.easyweb4j.model.converters
Class CharacterConverter

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

public class CharacterConverter
extends Object
implements Converter

Handles conversion of Characters.

Author:
Chandra Sekar S

Constructor Summary
CharacterConverter(boolean primitive)
          Initializes whether it is expected to convert a char primitive type or not.
 
Method Summary
 Character 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

CharacterConverter

public CharacterConverter(boolean primitive)
Initializes whether it is expected to convert a char primitive type or not.

Parameters:
primitive - Mentions whether the converter should use primitive type or not.
Method Detail

convert

public Character 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.