Package hudson.plugins.emailext
Class Util
- java.lang.Object
-
- hudson.plugins.emailext.Util
-
@Deprecated public class Util extends Object
Deprecated.Utility class for internal use.- Author:
- jjamison
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
Util.PrintfSpec
Deprecated.An interface for use with Util.printf to specialize behavior.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static void
printf(StringBuffer buf, String formatString, Util.PrintfSpec printfSpec)
Deprecated.Formats a string and puts the result into a StringBuffer.static String
unescapeString(String escapedString)
Deprecated.Replaces all the printf-style escape sequences in a string with the appropriate characters.
-
-
-
Method Detail
-
unescapeString
public static String unescapeString(String escapedString)
Deprecated.Replaces all the printf-style escape sequences in a string with the appropriate characters.- Parameters:
escapedString
- the string containing escapes- Returns:
- the string with all the escape sequences replaced
-
printf
public static void printf(StringBuffer buf, String formatString, Util.PrintfSpec printfSpec)
Deprecated.Formats a string and puts the result into a StringBuffer. Allows for standard Java backslash escapes and a customized behavior for % escapes in the form of a PrintfSpec.- Parameters:
buf
- the buffer to append the result toformatString
- the string to formatprintfSpec
- the specialization for printf
-
-