public class Util extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
Util.PrintfSpec
An interface for use with Util.printf to specialize behavior.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
printf(StringBuffer buf,
String formatString,
Util.PrintfSpec printfSpec)
Formats a string and puts the result into a StringBuffer.
|
static String |
unescapeString(String escapedString)
Replaces all the printf-style escape sequences in a string
with the appropriate characters.
|
public static String unescapeString(String escapedString)
escapedString - the string containing escapespublic static void printf(StringBuffer buf, String formatString, Util.PrintfSpec printfSpec)
buf - the buffer to append the result toformatString - the string to formatprintfSpec - the specialization for printfCopyright © 2004-2013. All Rights Reserved.