nl.openedge.baritus.converters
Interface LocaleConverter

All Superinterfaces:
Converter
All Known Implementing Classes:
BaseLocaleConverter

public interface LocaleConverter
extends Converter

General purpose data type converter. For this interface has the same signature of the BeanUtils package, so it's easy to convert/ re-use converters.

Author:
Eelco Hillenius

Method Summary
 java.lang.Object convert(java.lang.Class type, java.lang.Object value, java.lang.String pattern)
          Convert the specified locale-sensitive input object into an output object of the specified type.
 
Methods inherited from interface nl.openedge.baritus.converters.Converter
convert
 

Method Detail

convert

public java.lang.Object convert(java.lang.Class type,
                                java.lang.Object value,
                                java.lang.String pattern)
Convert the specified locale-sensitive input object into an output object of the specified type.

Parameters:
type - Data type to which this value should be converted
value - The input value to be converted
pattern - The user-defined pattern is used for the input object formatting.
Throws:
ConversionException - if conversion cannot be performed successfully


Copyright © 2003-2004 Open Edge. All Rights Reserved.