| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static char[] | Returns: resulting String.8 bit characters. bytes)Do a simple conversion of an array of 8 bit characters into a string. |
| public static String | Returns: resulting String.8 bit characters. bytes)Convert an array of 8 bit characters into a string. |
| public static String | |
| public static String | |
| public static StringList | |
| public static String[] | |
| public static byte[] | |
| public static byte[] | |
| public static int | |
| public static String | Returns: a US ASCII lowercase versioninput to be converted string)A locale independent version of toLowerCase. |
| public static String | Returns: a US Ascii uppercase versioninput to be converted string)A locale independent version of toUpperCase. |
| public static byte[] | |
| public static byte[] | |
| public static void |
| LINE_SEPARATOR | back to summary |
|---|---|
| private static String LINE_SEPARATOR | |
| Strings | back to summary |
|---|---|
| public Strings() | |
| asCharArray | back to summary |
|---|---|
| public static char[] asCharArray(byte[] bytes) Do a simple conversion of an array of 8 bit characters into a string.
| |
| fromByteArray | back to summary |
|---|---|
| public static String fromByteArray(byte[] bytes) Convert an array of 8 bit characters into a string.
| |
| fromUTF8ByteArray | back to summary |
|---|---|
| public static String fromUTF8ByteArray(byte[] bytes) | |
| lineSeparator | back to summary |
|---|---|
| public static String lineSeparator() | |
| newList | back to summary |
|---|---|
| public static StringList newList() | |
| split | back to summary |
|---|---|
| public static String[] split(String input, char delimiter) | |
| toByteArray | back to summary |
|---|---|
| public static byte[] toByteArray(char[] chars) | |
| toByteArray | back to summary |
|---|---|
| public static byte[] toByteArray(String string) | |
| toByteArray | back to summary |
|---|---|
| public static int toByteArray(String s, byte[] buf, int off) | |
| toLowerCase | back to summary |
|---|---|
| public static String toLowerCase(String string) A locale independent version of toLowerCase. | |
| toUpperCase | back to summary |
|---|---|
| public static String toUpperCase(String string) A locale independent version of toUpperCase. | |
| toUTF8ByteArray | back to summary |
|---|---|
| public static byte[] toUTF8ByteArray(String string) | |
| toUTF8ByteArray | back to summary |
|---|---|
| public static byte[] toUTF8ByteArray(char[] string) | |
| toUTF8ByteArray | back to summary |
|---|---|
| public static void toUTF8ByteArray(char[] string, OutputStream sOut) throws IOException | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | add(String
the String to add. s)Overrides java. Implements org. |
| public void | add(int
index at which the specified element is to be inserted index, String element to be inserted element)Overrides java. Implements java. |
| public String | set(int
index of the element to replace index, String element to be stored at the specified position element)Overrides java. Implements java. |
| public String[] | toStringArray()
Implements org. |
| public String[] | toStringArray(int
the initial index of the range to be copied, inclusive from, int the final index of the range to be copied, exclusive. to)Implements org. |
| StringListImpl | back to summary |
|---|---|
| private StringListImpl() | |
| add | back to summary |
|---|---|
| public boolean add(String s) Overrides java. Implements org. Doc from org. Add a String to the list.
| |
| add | back to summary |
|---|---|
| public void add(int index, String element) Overrides java. Implements java. Doc from java. Inserts the specified element at the specified position in this list. Shifts the element currently at that position (if any) and any subsequent elements to the right (adds one to their indices).
| |
| set | back to summary |
|---|---|
| public String set(int index, String element) Overrides java. Implements java. Doc from java. Replaces the element at the specified position in this list with the specified element. | |
| toStringArray | back to summary |
|---|---|
| public String[] toStringArray() Implements org. Doc from org. Return the contents of the list as an array.
| |
| toStringArray | back to summary |
|---|---|
| public String[] toStringArray(int from, int to) Implements org. Doc from org. Return a section of the contents of the list. If the list is too short the array is filled with nulls.
| |