Package 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
-
-
Constructor Summary
Constructors Constructor Description SuffixAppenderFormatter(String suffixToAppend)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
format(String name)
Format the name to match the bean property name.
-
-
-
Constructor Detail
-
SuffixAppenderFormatter
public SuffixAppenderFormatter(String suffixToAppend)
-
-
Method Detail
-
format
public String format(String name)
Description copied from interface:PropertyNameFormatter
Format the name to match the bean property name.- Specified by:
format
in interfacePropertyNameFormatter
- Parameters:
name
- the name to translate into the property name- Returns:
- the property name to match the bean
-
-