Package mondrian.rolap
Class RolapResult.CellFormatterValueFormatter
- java.lang.Object
-
- mondrian.rolap.RolapResult.CellFormatterValueFormatter
-
- All Implemented Interfaces:
RolapResult.ValueFormatter
- Enclosing class:
- RolapResult
static class RolapResult.CellFormatterValueFormatter extends Object implements RolapResult.ValueFormatter
A CellFormatterValueFormatter uses a user-definedCellFormatter
to format values.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) CellFormatter
cf
-
Fields inherited from interface mondrian.rolap.RolapResult.ValueFormatter
EMPTY
-
-
Constructor Summary
Constructors Constructor Description CellFormatterValueFormatter(CellFormatter cf)
Creates a CellFormatterValueFormatter
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
format(Object value, String formatString)
Formats a value according to a format string.
-
-
-
Field Detail
-
cf
final CellFormatter cf
-
-
Constructor Detail
-
CellFormatterValueFormatter
CellFormatterValueFormatter(CellFormatter cf)
Creates a CellFormatterValueFormatter- Parameters:
cf
- Cell formatter
-
-
Method Detail
-
format
public String format(Object value, String formatString)
Description copied from interface:RolapResult.ValueFormatter
Formats a value according to a format string.- Specified by:
format
in interfaceRolapResult.ValueFormatter
- Parameters:
value
- ValueformatString
- Format string- Returns:
- Formatted value
-
-