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
-
Constructor Summary
Constructors Constructor Description CharUtil(int charBufSize)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods 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)
-
-
-
Method Detail
-
getCharIterator
public CharUtil.CharIterator getCharIterator(Object src, int off, int cch)
-
getCharIterator
public CharUtil.CharIterator getCharIterator(Object src, int off, int cch, int start)
-
getThreadLocalCharUtil
public static CharUtil getThreadLocalCharUtil()
-
getString
public static void getString(StringBuffer sb, Object src, int off, int cch)
-
getChars
public static void getChars(char[] chars, int start, Object src, int off, int cch)
-
isWhiteSpace
public static final boolean isWhiteSpace(char ch)
-
isWhiteSpace
public final boolean isWhiteSpace(Object src, int off, int cch)
-
insertChars
public Object insertChars(int posInsert, Object src, int off, int cch, Object srcInsert, int offInsert, int cchInsert)
-
saveChars
public Object saveChars(Object srcSave, int offSave, int cchSave, Object srcPrev, int offPrev, int cchPrev)
-
dump
public static void dump(Object src, int off, int cch)
-
dumpChars
public static void dumpChars(PrintStream p, Object src, int off, int cch)
-
isValid
public static boolean isValid(Object src, int off, int cch)
-
clearThreadLocals
public static void clearThreadLocals()
-
-