public class UnicodeHelper extends Object implements Serializable
String
with the same signature. This class is equally immutable.Modifier and Type | Class and Description |
---|---|
static class |
UnicodeHelper.Method
Defines how length if a string is defined, i.e how chars are counted.
|
Modifier | Constructor and Description |
---|---|
protected |
UnicodeHelper()
For Serialization only!
|
|
UnicodeHelper(String input,
UnicodeHelper.Method method)
Create instance.
|
Modifier and Type | Method and Description |
---|---|
UnicodeHelper.Method |
getMethod() |
int |
indexOf(String str) |
int |
length() |
String |
substring(int beginIndex) |
String |
substring(int beginIndex,
int endIndex) |
String |
toString() |
public UnicodeHelper(String input, UnicodeHelper.Method method)
input
- String, that is to be wrapped.method
- Method, that is used to determin "chars" of string.protected UnicodeHelper()
public UnicodeHelper.Method getMethod()
public String substring(int beginIndex)
String.substring(int)
public String substring(int beginIndex, int endIndex)
String.substring(int, int)
public int length()
String.length()
public int indexOf(String str)
String.indexOf(String)
Apache Camel