mondrian.rolap
Interface RolapResult.ValueFormatter

All Known Implementing Classes:
RolapResult.CellFormatterValueFormatter, RolapResult.FormatValueFormatter
Enclosing class:
RolapResult

static interface RolapResult.ValueFormatter

Formatter to convert values into formatted strings.

Every Cell has a value, a format string (or CellFormatter) and a formatted value string. There are a wide range of possible values (pick a Double, any Double - its a value). Because there are lots of possible values, there are also lots of possible formatted value strings. On the other hand, there are only a very small number of format strings and CellFormatter's. These formatters are to be cached in a synchronized HashMaps in order to limit how many copies need to be kept around.

There are two implementations of the ValueFormatter interface:


Method Summary
 String format(Object value, String formatString)
           
 

Method Detail

format

String format(Object value,
              String formatString)

SourceForge.net_Logo