public class Strings
extends java.lang.Object
Constructor and Description |
---|
Strings() |
Modifier and Type | Method and Description |
---|---|
static void |
copyInto(java.lang.CharSequence src,
int start,
int end,
CharSeq dst,
int at) |
static void |
makeCapitalize(CharSeq str)
Capitalize this string.
|
static void |
makeLowerCase(CharSeq str)
Change every character to be lowercase.
|
static void |
makeUpperCase(CharSeq str)
Change every character to be uppercase.
|
static void |
printQuoted(java.lang.CharSequence str,
java.lang.Appendable ps,
int escapes)
Print a string with quotes and escapes.
|
static int |
sizeInCodePoints(java.lang.CharSequence str) |
public static int sizeInCodePoints(java.lang.CharSequence str)
public static void makeUpperCase(CharSeq str)
public static void makeLowerCase(CharSeq str)
public static void makeCapitalize(CharSeq str)
public static void printQuoted(java.lang.CharSequence str, java.lang.Appendable ps, int escapes)
escapes
- The value 0 means only escape '"' and '\\';
the value 1 means escape standard escape characters like '\\b';
the value 2 means escape all non-asci or control characters.public static void copyInto(java.lang.CharSequence src, int start, int end, CharSeq dst, int at)