| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static String | Returns: a decapitalized Stringa String string)Decapitalize a String if it begins with a capital letter, e.g.:
|
| public static String | Returns: a new String corresponding to the bytes in bufan array of bytes buf, int the initial offset off, int the length len)Return a new String with chars corresponding to buf from off to off + len. |
| public static String | Returns: a new String corresponding to the bytes in bufan array of bytes buf)Return a new String with chars corresponding to buf. |
| public static String | Returns: a new String corresponding to the bytes in bufa ByteBuffer of bytes buf)Return a new String with chars corresponding to buf. |
| public static String | |
| public static String | |
| public static byte[] |
| StringUtil | back to summary |
|---|---|
| public StringUtil() | |
| decapitalize | back to summary |
|---|---|
| public static String decapitalize(String string) Decapitalize a String if it begins with a capital letter, e.g.:
| |
| fromBytes | back to summary |
|---|---|
| public static String fromBytes(byte[] buf, int off, int len) Return a new String with chars corresponding to buf from off to off + len.
a new String corresponding to the bytes in buf
| |
| fromBytes | back to summary |
|---|---|
| public static String fromBytes(byte[] buf) Return a new String with chars corresponding to buf.
| |
| fromBytes | back to summary |
|---|---|
| public static String fromBytes(ByteBuffer buf) Return a new String with chars corresponding to buf.
| |
| fromBytes | back to summary |
|---|---|
| public static String fromBytes(PyBuffer buf) Return a new String with chars corresponding to buf, which is a byte-oriented buffer obtained
through the buffer API. It depends on the implementation of | |
| fromBytes | back to summary |
|---|---|
| public static String fromBytes(BaseBytes b) Return a new String with chars corresponding to b. | |
| toBytes | back to summary |
|---|---|
| public static byte[] toBytes(String string) Encodes this String into a sequence of bytes. Each byte contains the low-order bits of its corresponding char.
| |