| Modifier and Type | Field and Description |
|---|---|
| private static final char[] | |
| private static final int[] | |
| private static SoftReference | |
| private static long | |
| private static final String[][] | |
| private static final int | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static String | Returns: the text with asteriskthe text s, int the position index)Add an asterisk ('[*]') at the given position. |
| public static StringBuilder | Returns: the specified string builderstring builder to append to builder, long value to append x, int number of bytes to append bytes)Appends specified number of trailing bytes from unsigned long value to a specified string builder. |
| public static StringBuilder | Returns: the specified string builderthe string builder builder, String the string to append s, int the length limit length)Appends the specified string or its part to the specified builder with maximum builder length limit. |
| public static StringBuilder | Returns: the specified string builderthe string builder builder, int the number to append positiveValue)Append a zero-padded number from 00 to 99 to a string builder. |
| public static StringBuilder | Returns: the specified string builderthe string builder builder, int the number of characters to append length, int the number to append positiveValue)Append a zero-padded number to a string builder. |
| public static String | Returns: the combined stringthe string array list, char the separator character separatorChar)Combine an array of strings to one array using the given separator character. |
| public static String[] | Returns: the array listthe string to split s, char the separator character separatorChar, boolean whether each element should be trimmed trim)Split a string into an array of strings using the given separator. |
| public static String | |
| public static void | |
| public static char[] | Returns: a new char arraythe char array (may be null) chars)Create a new char array and copy all the data. |
| public static String | Returns: the hex encoded stringthe byte array value)Convert a byte array to a hex encoded string. |
| public static String | Returns: the hex encoded stringthe byte array value, int the number of bytes to encode len)Convert a byte array to a hex encoded string. |
| public static StringBuilder | Returns: the hex encoded stringstring builder to append to builder, byte[] the byte array value)Convert a byte array to a hex encoded string and appends it to a specified string builder. |
| public static StringBuilder | Returns: the hex encoded stringstring builder to append to builder, byte[] the byte array value, int the number of bytes to encode len)Convert a byte array to a hex encoded string and appends it to a specified string builder. |
| public static byte[] | Returns: the byte arraythe hex encoded string s)Convert a hex encoded string to a byte array. |
| public static ByteArrayOutputStream | Returns: the specified output stream or a new output streamthe output stream, or baos, String nullthe hex encoded string s, int the start index start, int the end index, exclusive end)Parses a hex encoded string with possible space separators and appends the decoded binary string to the specified output stream. |
| public static String | Returns: the decoded stringthe string to decode s, int the code point of UENCODE character, or '\\' uencode)Decodes a Unicode SQL string. |
| public static String | Returns: the escaped patternthe pattern pattern)Escape table or schema patterns used for DatabaseMetaData functions. |
| private static String[] | |
| private static DbException | |
| private static DbException | |
| public static StringBuilder | Returns: the specified string builderstring builder to append to builder, String the string s, int the number of spaces spaces, boolean append a newline if there is none newline)Indents a string with spaces and appends it to a specified builder. |
| public static boolean | Returns: true if it is null or emptythe string to check s)Check if a String is null or empty (the length is null). |
| public static boolean | |
| public static boolean | Returns: whether the specified string is empty or contains only whitespacethe string s)Check if the specified string is empty or contains only whitespace. |
| public static String | Returns: the stringthe encoded string s)Decode a text that is encoded as a Java string literal. |
| public static String | Returns: the Java representationthe text to convert s)Convert a string to a Java literal using the correct escape sequences. |
| public static void | javaEncode(String
the text to convert s, StringBuilder the Java representation to return buff, boolean true if we embedding this inside a STRINGDECODE SQL command forSQL)Convert a string to a Java literal using the correct escape sequences. |
| public static String | |
| public static int | parseUInt31(String
string to parse s, int the beginning index, inclusive start, int the ending index, exclusive end)Parses an unsigned 31-bit integer. |
| public static String | Returns: the double quoted textthe text s)Enclose a string with double quotes. |
| public static StringBuilder | Returns: the specified builderstring builder to append to builder, String the text s)Enclose a string with double quotes and append it to the specified string builder. |
| private static StringBuilder | |
| public static String | Returns: the Java source code (including new int[]{})the int array array)Convert an int array to the Java source code that represents this array. |
| public static String | Returns: the Java representationthe text to convert s)Convert a string to the Java literal and enclose it with double quotes. |
| public static String | Returns: the Java source code (including new String[]{})the string array array)Convert a string array to the Java source code that represents this array. |
| public static String | Returns: the SQL literalthe text to convert. s)Convert a string to a SQL literal. |
| public static StringBuilder | Returns: the specified string builderstring builder to append result to builder, String the text to convert s)Convert a string to a SQL character string literal. |
| public static String | Returns: the string with the before string replacedthe string s, String the old text before, String the new text after)Replace all occurrences of the before string with the after string. |
| public static boolean | Returns: TRUE only if text starts with the prefixthe full text starting with a prefix text, String the full text starting with a prefix prefix)Case-sensitive check if a {@param text} starts with a {@param prefix}. |
| public static boolean | Returns: TRUE only if text starts with the prefixthe full text starting with a prefix text, String the full text starting with a prefix prefix)Case-Insensitive check if a {@param text} starts with a {@param prefix}. |
| public static String | Returns: the lowercase textthe text to convert s)Convert a string to lowercase using the English locale. |
| public static String | Returns: the uppercase textthe test to convert s)Convert a string to uppercase using the English locale. |
| public static String | |
| private static String | |
| public static String | |
| public static String | Returns: trimmed substringthe string s, int start index of substring (inclusive) beginIndex)Trim a whitespace from a substring. |
| public static String | Returns: trimmed substringthe string s, int start index of substring (inclusive) beginIndex, int end index of substring (exclusive) endIndex)Trim a whitespace from a substring. |
| public static StringBuilder | Returns: the specified builderstring builder to append to builder, String the string s, int start index of substring (inclusive) beginIndex, int end index of substring (exclusive) endIndex)Trim a whitespace from a substring and append it to a specified string builder. |
| public static String | Returns: the specified string if it isn't longer than the specified maximum length, and the truncated string otherwisethe string to truncate s, int the maximum length in characters maximumLength)Truncates the specified string to the specified length. |
| public static String | |
| public static String | |
| public static String | |
| public static String | |
| public static String | |
| public static String | |
| public static String | |
| public static String | |
| public static String | |
| public static String |