public final class CharUtil extends Object
Modifier and Type | Class and Description |
---|---|
static class |
CharUtil.CharIterator |
static class |
CharUtil.CharJoin |
Constructor and Description |
---|
CharUtil(int charBufSize) |
Modifier and Type | Method and Description |
---|---|
static void |
clearThreadLocals() |
static void |
dump(Object src,
int off,
int cch) |
static void |
dumpChars(PrintStream p,
Object src,
int off,
int cch) |
CharUtil.CharIterator |
getCharIterator(Object src,
int off,
int cch) |
CharUtil.CharIterator |
getCharIterator(Object src,
int off,
int cch,
int start) |
static void |
getChars(char[] chars,
int start,
Object src,
int off,
int cch) |
static String |
getString(Object src,
int off,
int cch) |
static void |
getString(StringBuffer sb,
Object src,
int off,
int cch) |
static CharUtil |
getThreadLocalCharUtil() |
Object |
insertChars(int posInsert,
Object src,
int off,
int cch,
Object srcInsert,
int offInsert,
int cchInsert) |
static boolean |
isValid(Object src,
int off,
int cch) |
static boolean |
isWhiteSpace(char ch) |
boolean |
isWhiteSpace(Object src,
int off,
int cch) |
Object |
removeChars(int posRemove,
int cchRemove,
Object src,
int off,
int cch) |
Object |
saveChars(Object srcSave,
int offSave,
int cchSave) |
Object |
saveChars(Object srcSave,
int offSave,
int cchSave,
Object srcPrev,
int offPrev,
int cchPrev) |
Object |
stripLeft(Object src,
int off,
int cch) |
Object |
stripRight(Object src,
int off,
int cch) |
public CharUtil.CharIterator getCharIterator(Object src, int off, int cch)
public CharUtil.CharIterator getCharIterator(Object src, int off, int cch, int start)
public static CharUtil getThreadLocalCharUtil()
public static void getString(StringBuffer sb, Object src, int off, int cch)
public static void getChars(char[] chars, int start, Object src, int off, int cch)
public static boolean isWhiteSpace(char ch)
public final boolean isWhiteSpace(Object src, int off, int cch)
public Object insertChars(int posInsert, Object src, int off, int cch, Object srcInsert, int offInsert, int cchInsert)
public Object saveChars(Object srcSave, int offSave, int cchSave, Object srcPrev, int offPrev, int cchPrev)
public static void dump(Object src, int off, int cch)
public static void dumpChars(PrintStream p, Object src, int off, int cch)
public static boolean isValid(Object src, int off, int cch)
public static void clearThreadLocals()