mondrian.util
Class Format.LiteralFormat
java.lang.Object
mondrian.util.Format.BasicFormat
mondrian.util.Format.LiteralFormat
- Enclosing class:
- Format
static class Format.LiteralFormat
- extends Format.BasicFormat
LiteralFormat is an implementation of Format.BasicFormat
which
prints a constant value, regardless of the value to be formatted.
- See Also:
Format.CompoundFormat
-
-
Field Summary |
(package private) String |
s
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
s
String s
Format.LiteralFormat
Format.LiteralFormat(String s)
Format.LiteralFormat
Format.LiteralFormat(int code,
String s)
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(Date date,
StringBuilder buf)
- Overrides:
format
in class Format.BasicFormat
format
void format(Calendar calendar,
StringBuilder buf)
- Overrides:
format
in class Format.BasicFormat