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 classCharUtil.CharIteratorstatic classCharUtil.CharJoin -
Field Summary
-
Constructor Summary
Constructors Constructor Description CharUtil(int charBufSize) -
Method Summary
Modifier and Type Method Description static voidclearThreadLocals()static voiddump(Object src, int off, int cch)static voiddumpChars(PrintStream p, Object src, int off, int cch)CharUtil.CharIteratorgetCharIterator(Object src, int off, int cch)CharUtil.CharIteratorgetCharIterator(Object src, int off, int cch, int start)static voidgetChars(char[] chars, int start, Object src, int off, int cch)static StringgetString(Object src, int off, int cch)static voidgetString(StringBuffer sb, Object src, int off, int cch)static CharUtilgetThreadLocalCharUtil()ObjectinsertChars(int posInsert, Object src, int off, int cch, Object srcInsert, int offInsert, int cchInsert)static booleanisValid(Object src, int off, int cch)static booleanisWhiteSpace(char ch)booleanisWhiteSpace(Object src, int off, int cch)ObjectremoveChars(int posRemove, int cchRemove, Object src, int off, int cch)ObjectsaveChars(Object srcSave, int offSave, int cchSave)ObjectsaveChars(Object srcSave, int offSave, int cchSave, Object srcPrev, int offPrev, int cchPrev)ObjectstripLeft(Object src, int off, int cch)ObjectstripRight(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()
-