public interface

LocaleConverter

implements Converter
org.apache.commons.beanutils.locale.LocaleConverter
Known Indirect Subclasses

Class Overview

General purpose locale-sensitive data type converter that can be registered and used within the BeanUtils package to manage the conversion of objects from one type to another.

Summary

Public Methods
abstract Object convert(Class type, Object value, String pattern)
Convert the specified locale-sensitive input object into an output object of the specified type.
[Expand]
Inherited Methods
From interface org.apache.commons.beanutils.Converter

Public Methods

public abstract Object convert (Class type, Object value, 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.
Returns
  • The converted value
Throws
ConversionException if conversion cannot be performed successfully