mondrian.rolap
Class RolapResult.FormatValueFormatter

java.lang.Object
  extended by mondrian.rolap.RolapResult.FormatValueFormatter
All Implemented Interfaces:
RolapResult.ValueFormatter
Enclosing class:
RolapResult

static class RolapResult.FormatValueFormatter
extends Object
implements RolapResult.ValueFormatter

A FormatValueFormatter takes a Locale as a parameter and uses it to get the Format to be used in formatting an Object value with a given format string.

 

Field Summary
(package private)  Locale locale
           
 
Constructor Summary
RolapResult.FormatValueFormatter(Locale locale)
          Creates a FormatValueFormatter.
 
Method Summary
 String format(Object value, String formatString)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

locale

final Locale locale
Constructor Detail

RolapResult.FormatValueFormatter

RolapResult.FormatValueFormatter(Locale locale)
Creates a FormatValueFormatter.

Parameters:
locale - Locale
Method Detail

format

public String format(Object value,
                     String formatString)
Specified by:
format in interface RolapResult.ValueFormatter

SourceForge.net_Logo