| Modifier and Type | Field and Description |
|---|---|
| private static final Class | |
| private static final Class |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static StringBuilder | Returns: "value"a string builder sb, final Object a value value)Appends in the following format: double quoted value. |
| public static StringBuilder | Returns: key="value"a string builder sb, final Map.a map entry entryAppends in the following format: key=double quoted value. |
| public static StringBuilder | Returns: the specified StringBuildera string builder sb, final String a key key, final Object a value value)Appends in the following format: key=double quoted value. |
| public static boolean | |
| public static void | appendValue(final StringBuilder
the StringBuilder to append the value to stringBuilder, final Object the object whose text representation to append to the StringBuilder obj)Appends a text representation of the specified object to the specified StringBuilder, if possible without allocating temporary objects. |
| public static boolean | Returns: true if equal, false otherwisethe left CharSequence left, final int start index in the left CharSequence leftOffset, final int length of the section in the left CharSequence leftLength, final CharSequence the right CharSequence to compare a section of right, final int start index in the right CharSequence rightOffset, final int length of the section in the right CharSequence rightLength)Returns true if the specified section of the left CharSequence equals the specified section of the right CharSequence. |
| public static boolean | Returns: true if equal ignoring case, false otherwisethe left CharSequence left, final int start index in the left CharSequence leftOffset, final int length of the section in the left CharSequence leftLength, final CharSequence the right CharSequence to compare a section of right, final int start index in the right CharSequence rightOffset, final int length of the section in the right CharSequence rightLength)Returns true if the specified section of the left CharSequence equals, ignoring case, the specified section of the right CharSequence. |
| private static int | |
| public static void | |
| public static void | |
| private static boolean | |
| private static boolean | |
| public static void | trimToMaxSize(final StringBuilder
the StringBuilder to check stringBuilder, final int the maximum number of characters the StringBuilder is allowed to have maxSize)Ensures that the char[] array of the specified StringBuilder does not exceed the specified number of characters. |
| dateClass | back to summary |
|---|---|
| private static final Class<?> dateClass | |
| timeClass | back to summary |
|---|---|
| private static final Class<?> timeClass | |
| StringBuilders | back to summary |
|---|---|
| private StringBuilders() | |
| appendDqValue | back to summary |
|---|---|
| public static StringBuilder appendDqValue(final StringBuilder sb, final Object value) Appends in the following format: double quoted value.
| |
| appendKeyDqValue | back to summary |
|---|---|
| public static StringBuilder appendKeyDqValue(final StringBuilder sb, final Map. Appends in the following format: key=double quoted value.
| |
| appendKeyDqValue | back to summary |
|---|---|
| public static StringBuilder appendKeyDqValue(final StringBuilder sb, final String key, final Object value) Appends in the following format: key=double quoted value.
| |
| appendSpecificTypes | back to summary |
|---|---|
| public static boolean appendSpecificTypes(final StringBuilder stringBuilder, final Object obj) | |
| appendValue | back to summary |
|---|---|
| public static void appendValue(final StringBuilder stringBuilder, final Object obj) Appends a text representation of the specified object to the specified StringBuilder, if possible without allocating temporary objects.
| |
| equals | back to summary |
|---|---|
| public static boolean equals(final CharSequence left, final int leftOffset, final int leftLength, final CharSequence right, final int rightOffset, final int rightLength) Returns true if the specified section of the left CharSequence equals the specified section of the right CharSequence.
| |
| equalsIgnoreCase | back to summary |
|---|---|
| public static boolean equalsIgnoreCase(final CharSequence left, final int leftOffset, final int leftLength, final CharSequence right, final int rightOffset, final int rightLength) Returns true if the specified section of the left CharSequence equals, ignoring case, the specified section of the right CharSequence.
| |
| escapeAndDecrement | back to summary |
|---|---|
| private static int escapeAndDecrement(final StringBuilder toAppendTo, int lastPos, final char c) | |
| escapeJson | back to summary |
|---|---|
| public static void escapeJson(final StringBuilder toAppendTo, final int start) | |
| escapeXml | back to summary |
|---|---|
| public static void escapeXml(final StringBuilder toAppendTo, final int start) | |
| isDate | back to summary |
|---|---|
| private static boolean isDate(final Object obj) | |
| isTime | back to summary |
|---|---|
| private static boolean isTime(final Object obj) | |
| trimToMaxSize | back to summary |
|---|---|
| public static void trimToMaxSize(final StringBuilder stringBuilder, final int maxSize) Ensures that the char[] array of the specified StringBuilder does not exceed the specified number of characters. This method is useful to ensure that excessively long char[] arrays are not kept in memory forever.
| |