Package org.apache.xmlbeans.impl.store
Class CharUtil
java.lang.Object
org.apache.xmlbeans.impl.store.CharUtil
public final class CharUtil extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CharUtil.CharIterator
static class
CharUtil.CharJoin
-
Field Summary
-
Constructor Summary
Constructors Constructor Description CharUtil(int charBufSize)
-
Method Summary
Modifier and Type Method 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)
-
Field Details
-
Constructor Details
-
CharUtil
public CharUtil(int charBufSize)
-
-
Method Details
-
getCharIterator
-
getCharIterator
-
getThreadLocalCharUtil
-
getString
-
getChars
-
getString
-
isWhiteSpace
public static boolean isWhiteSpace(char ch) -
isWhiteSpace
-
stripLeft
-
stripRight
-
insertChars
-
removeChars
-
saveChars
-
saveChars
-
dump
-
dumpChars
-
isValid
-
clearThreadLocals
public static void clearThreadLocals()
-