org.pentaho.platform.util.beans
Class AlternateIndexFormatter
java.lang.Object
org.pentaho.platform.util.beans.AlternateIndexFormatter
- All Implemented Interfaces:
- PropertyNameFormatter
public class AlternateIndexFormatter
- extends Object
- implements PropertyNameFormatter
Converts to a bean utils consumable expression and applies other customizations
as necessary, such as suffix additions.
Method Summary |
String |
format(String name)
Format the name to match the bean property name. |
AlternateIndexFormatter
public AlternateIndexFormatter()
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