net.sf.easyweb4j.model.converters
Interface Converter

All Known Implementing Classes:
AbstractNumberConverter, BigDecimalConverter, BigIntegerConverter, BooleanConverter, CharacterConverter, DateConverter, PrimitiveConverter, StringConverter

public interface Converter

Handles conversion of input Strings to basic types.

Author:
Chandra Sekar S

Method Summary
 Object convert(String[] values)
          Converts given input strings (extracted from the parameter) to a basic type.
 

Method Detail

convert

Object convert(String[] values)
               throws FormatException
Converts given input strings (extracted from the parameter) to a basic type.

Parameters:
values - The parameter values.
Returns:
The converted object.
Throws:
FormatException - If the input string is not of compatible format.


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