org.pentaho.platform.util.beans
Class SuffixAppenderFormatter

java.lang.Object
  extended by org.pentaho.platform.util.beans.SuffixAppenderFormatter
All Implemented Interfaces:
PropertyNameFormatter

public class SuffixAppenderFormatter
extends Object
implements PropertyNameFormatter


Constructor Summary
SuffixAppenderFormatter(String suffixToAppend)
           
 
Method Summary
 String format(String name)
          Format the name to match the bean property name.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 interface PropertyNameFormatter
Parameters:
name - the name to translate into the property name
Returns:
the property name to match the bean