public interface PropertyConverter
Object toObject(String pString, Class pType, String pFormat) throws ConversionException
pString - the string to convertpType - the type to convert to. PropertyConverter
implementations may choose to ignore this parameter.pFormat - the format used for parsing. PropertyConverter
implementations may choose to ignore this parameter. Also,
implementations that require a parser format, should provide a default
format, and allow null as the format argument.ConversionException - if the string could not be converted to the
specified type and format.String toString(Object pObject, String pFormat) throws ConversionException
pObject - the object to convertpFormat - the format used for parsing. PropertyConverter
implementations may choose to ignore this parameter. Also,
implementations that require a parser format, should provide a default
format, and allow null as the format argument.ConversionException - if the string could not be converted to the
specified type and format.Copyright © 2014. All Rights Reserved.