org.pentaho.platform.util.beans
Class SuffixAppenderFormatter
java.lang.Object
org.pentaho.platform.util.beans.SuffixAppenderFormatter
- All Implemented Interfaces:
- PropertyNameFormatter
public class SuffixAppenderFormatter
- extends Object
- implements PropertyNameFormatter
Method Summary |
String |
format(String name)
Format the name to match the bean property name. |
SuffixAppenderFormatter
public SuffixAppenderFormatter(String suffixToAppend)
format
public String format(String name)
- Description copied from interface:
PropertyNameFormatter
- Format the name to match the bean property name.
- Specified by:
format
in interface PropertyNameFormatter
- Parameters:
name
- the name to translate into the property name
- Returns:
- the property name to match the bean