public class UnicodeUtil
extends java.lang.Object
| Modifier and Type | Method and Description | 
|---|---|
| static boolean | isCharHighSurrogate(char ch)Determines if the given character value is a unicode high-surrogate code unit. | 
| static java.lang.CharSequence | truncateString(java.lang.CharSequence input,
              int length)Truncates the input charSequence such that the truncated charSequence is a valid unicode string
 and the number of unicode characters in the truncated charSequence is lesser than or equal to
 length | 
| static Literal<java.lang.CharSequence> | truncateStringMax(Literal<java.lang.CharSequence> input,
                 int length)Returns a valid unicode charsequence that is greater than the given input such that the number
 of unicode characters in the truncated charSequence is lesser than or equal to length | 
| static Literal<java.lang.CharSequence> | truncateStringMin(Literal<java.lang.CharSequence> input,
                 int length)Returns a valid unicode charsequence that is lower than the given input such that the number of
 unicode characters in the truncated charSequence is lesser than or equal to length | 
public static boolean isCharHighSurrogate(char ch)
public static java.lang.CharSequence truncateString(java.lang.CharSequence input,
                                                    int length)
public static Literal<java.lang.CharSequence> truncateStringMin(Literal<java.lang.CharSequence> input, int length)
public static Literal<java.lang.CharSequence> truncateStringMax(Literal<java.lang.CharSequence> input, int length)