| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static void | join(final StringBuilder
The buffer to append to. buf, final String The token to add at the beginning of the string. addAtBeginning, final String The separator string. sep, final String The token to add at the end of the string. addAtEnd, final Iterable<?> The iterable)Iterable to join.A replacement for Java 8's String.join(). |
| public static String | |
| public static String | |
| public static String | Returns: The string.the array to read the string from arr, final int The start offset of the string within the array. startOffset, final int The number of bytes of the UTF8 encoding of the string. numBytes, final boolean If true, replace '/' with '.'. replaceSlashWithDot, final boolean If true, string final ';' character. stripLSemicolon)Reads the "modified UTF8" format defined in the Java classfile spec, optionally replacing '/' with '.', and optionally removing the prefix "L" and the suffix ";". |
| StringUtils | back to summary |
|---|---|
| private StringUtils() Constructor. | |
| join | back to summary |
|---|---|
| public static void join(final StringBuilder buf, final String addAtBeginning, final String sep, final String addAtEnd, final Iterable<?> iterable) A replacement for Java 8's String.join(). | |
| join | back to summary |
|---|---|
| public static String join(final String sep, final Iterable<?> iterable) A replacement for Java 8's String.join(). | |
| join | back to summary |
|---|---|
| public static String join(final String sep, final Object... items) A replacement for Java 8's String.join(). | |
| readString | back to summary |
|---|---|
| public static String readString(final byte[] arr, final int startOffset, final int numBytes, final boolean replaceSlashWithDot, final boolean stripLSemicolon) throws IllegalArgumentException Reads the "modified UTF8" format defined in the Java classfile spec, optionally replacing '/' with '.', and optionally removing the prefix "L" and the suffix ";".
| |