|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.endeca.portlet.util.StringUtil
public class StringUtil
String Utility functions
Constructor Summary | |
---|---|
StringUtil()
|
Method Summary | |
---|---|
static int |
codePointCount(java.lang.String str)
Returns the number of Unicode code points in the passed string. |
static java.lang.String |
codePointSubString(java.lang.String str,
int startIndex,
int codePointOffset)
Returns the substring of a string in terms of code points and not 'char' values. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StringUtil()
Method Detail |
---|
public static int codePointCount(java.lang.String str)
str
-
public static java.lang.String codePointSubString(java.lang.String str, int startIndex, int codePointOffset)
str
- - The original stringstartIndex
- - The starting indexcodePointOffset
- - The offset in code points
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |