package cnp.ew.converter;

/**
 * Any object that wants to be converted to a string
 * should create a class that implements this interface
 * to perform the conversion.
 *
 * @version        $Version$
 * @author         $Author: Ken $
 */
public interface CpToStringConverter
{
    /**
     * Convert the object into a string.
     */
    public String convert(Object o);

    /**
     * Set the formatting string that is used for
     * customizing the conversion of the object into a string.
     */
    public void setFormatString(String s);
}