mondrian.util
Class Format.FallbackFormat
java.lang.Object
mondrian.util.Format.BasicFormat
mondrian.util.Format.FallbackFormat
- Direct Known Subclasses:
- Format.DateFormat, Format.NumericFormat
- Enclosing class:
- Format
abstract static class Format.FallbackFormat
- extends Format.BasicFormat
FallbackFormat catches un-handled datatypes and prints the original
format string. Better than giving an error. Abstract base class for
NumericFormat and DateFormat.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
token
String token
Format.FallbackFormat
Format.FallbackFormat(int code,
String token)
format
void format(double d,
StringBuilder buf)
- Overrides:
format
in class Format.BasicFormat
format
void format(long n,
StringBuilder buf)
- Overrides:
format
in class Format.BasicFormat
format
void format(String s,
StringBuilder buf)
- Overrides:
format
in class Format.BasicFormat
format
void format(Calendar calendar,
StringBuilder buf)
- Overrides:
format
in class Format.BasicFormat