static class Format.LiteralFormat extends Format.BasicFormat
Format.BasicFormat which
 prints a constant value, regardless of the value to be formatted.Format.CompoundFormat| Modifier and Type | Field and Description | 
|---|---|
(package private) String | 
s  | 
code| Constructor and Description | 
|---|
Format.LiteralFormat(int code,
                    String s)  | 
Format.LiteralFormat(String s)  | 
| Modifier and Type | Method and Description | 
|---|---|
(package private) void | 
format(Calendar calendar,
      StringBuilder buf)  | 
(package private) void | 
format(Date date,
      StringBuilder buf)  | 
(package private) void | 
format(double d,
      StringBuilder buf)  | 
(package private) void | 
format(long n,
      StringBuilder buf)  | 
(package private) void | 
format(String str,
      StringBuilder buf)  | 
formatNull, getFormatType, isApplicableTo, isApplicableToString s
Format.LiteralFormat(String s)
Format.LiteralFormat(int code,
                    String s)
void format(double d,
          StringBuilder buf)
format in class Format.BasicFormatvoid format(long n,
          StringBuilder buf)
format in class Format.BasicFormatvoid format(String str, StringBuilder buf)
format in class Format.BasicFormatvoid format(Date date, StringBuilder buf)
format in class Format.BasicFormatvoid format(Calendar calendar, StringBuilder buf)
format in class Format.BasicFormat