Modifier and Type | Field and Description |
---|---|
static String |
FINAL_PATTERN_CHARS |
static String |
PATTERN_MODIFIERS |
Constructor and Description |
---|
MagicFormatter(String formatString)
This takes a format string, breaks it up into prefix, %-thang, and suffix.
|
Modifier and Type | Method and Description |
---|---|
void |
format(StringBuilder sb,
Object value)
Formats the extracted value assigned and returns the associated string
|
String |
toString() |
public static final String FINAL_PATTERN_CHARS
public static final String PATTERN_MODIFIERS
public MagicFormatter(String formatString)
public void format(StringBuilder sb, Object value)
This content is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.