| java.lang.Object org.apache.derbyTesting.functionTests.util.Formatters
Formatters | public class Formatters (Code) | | |
Method Summary | |
public static String | format(String in) This method converts the non-ASCII characters in the input
parameter to unicode escape sequences. | public static String | padString(String oldValue, int size) | public static String | repeatChar(String c, int repeatCount) repeatChar is used to create strings of varying lengths. |
hexDigits | final static char[] hexDigits(Code) | | |
format | public static String format(String in)(Code) | | This method converts the non-ASCII characters in the input
parameter to unicode escape sequences.
Parameters: in - String to format String containing unicode escape sequences for non-ASCII chars |
padString | public static String padString(String oldValue, int size)(Code) | | Pads out a string to the specified size
Parameters: oldValue - value to be padded Parameters: size - size of resulting string oldValue padded with spaces to the specified size |
repeatChar | public static String repeatChar(String c, int repeatCount)(Code) | | repeatChar is used to create strings of varying lengths.
called from various tests to test edge cases and such.
Parameters: c - character to repeat Parameters: repeatCount - Number of times to repeat character String of repeatCount characters c |
|
|