public class Appendables extends Object
| Constructor and Description |
|---|
Appendables() |
| Modifier and Type | Method and Description |
|---|---|
static <A extends Appendable> |
appendAndSkip(A target,
CharSequence source,
CharSequence skip) |
static <A extends Appendable> |
appendArray(A target,
byte[] b) |
static <A extends Appendable> |
appendArray(A target,
byte[] b,
int offset,
int mask,
int bLength) |
static <A extends Appendable> |
appendArray(A target,
char left,
byte[] b,
char right) |
static <A extends Appendable> |
appendArray(A target,
char left,
byte[] b,
char right,
int bLength) |
static <A extends Appendable> |
appendArray(A target,
char left,
byte[] b,
int offset,
int mask,
char right,
int bLength) |
static <A extends Appendable> |
appendArray(A target,
char left,
int[] a,
char right) |
static <A extends Appendable> |
appendArray(A target,
char left,
int[] b,
long offset,
int mask,
char right,
int bLength) |
static <A extends Appendable> |
appendArray(A target,
char left,
long[] a,
char right) |
static <A extends Appendable> |
appendArray(A target,
char left,
Object[] a,
char right) |
static <A extends Appendable> |
appendBase64(A target,
byte[] backing,
int pos,
int len,
int mask) |
static <A extends Appendable> |
appendBase64Encoded(A target,
byte[] backing,
int pos,
int len,
int mask)
Writes URL encoded base64 encoded value of range found in backing array.
|
static <A extends Appendable> |
appendClass(A target,
Class clazz,
Class clazzParam) |
static <A extends Appendable> |
appendDecimalValue(A target,
long m,
byte e) |
static int |
appendedLength(long value) |
static <A extends Appendable> |
appendEpochTime(A target,
long msTime) |
static <A extends Appendable> |
appendFixedDecimalDigits(A target,
int value,
int tens) |
static <A extends Appendable> |
appendFixedDecimalDigits(A target,
long value,
int tens) |
static <A extends Appendable> |
appendFixedHexDigits(A target,
int value,
int bits) |
static <A extends Appendable> |
appendFixedHexDigits(A target,
long value,
int bits) |
static <A extends Appendable> |
appendHexArray(A target,
char left,
byte[] b,
int offset,
int mask,
char right,
int bLength) |
static <A extends Appendable> |
appendHexArray(A target,
char left,
int[] b,
long offset,
int mask,
char right,
int bLength) |
static <A extends Appendable> |
appendHexDigits(A target,
int value) |
static <A extends Appendable> |
appendHexDigits(A target,
long value) |
static <A extends Appendable> |
appendHexDigitsRaw(A target,
int value) |
static <A extends Appendable> |
appendHexDigitsRaw(A target,
long value) |
static <A extends Appendable> |
appendNearestTimeUnit(A target,
long nsValue) |
static <A extends Appendable> |
appendNearestTimeUnit(A target,
long nsValue,
String postfix) |
static <A extends Appendable> |
appendStaticCall(A target,
Class clazz,
String method) |
static <A extends Appendable> |
appendUTF8(A target,
byte[] backing,
int pos,
int len,
int mask) |
static <A extends Appendable> |
appendValue(A target,
CharSequence label,
int value) |
static <A extends Appendable> |
appendValue(A target,
CharSequence label,
int value,
CharSequence suffix) |
static <A extends Appendable> |
appendValue(A target,
CharSequence label,
long value) |
static <A extends Appendable> |
appendValue(A target,
CharSequence label,
long value,
CharSequence suffix) |
static <A extends Appendable> |
appendValue(A target,
int value) |
static <A extends Appendable> |
appendValue(A target,
long value) |
static int |
decodeBase64(byte[] source,
int sourceIdx,
int sourceLen,
int sourceMask,
byte[] target,
int targetIdx,
int targetMask) |
static AppendableProxy |
proxy(Appendable a) |
static CharSequence[] |
split(CharSequence text,
char c) |
static StringBuilder |
truncate(StringBuilder builder) |
static AppendableProxy |
wrap(Appendable a) |
public static <A extends Appendable> A appendArray(A target, char left, long[] a, char right)
public static <A extends Appendable> A appendArray(A target, byte[] b)
public static <A extends Appendable> A appendArray(A target, char left, byte[] b, char right)
public static <A extends Appendable> A appendArray(A target, char left, byte[] b, char right, int bLength)
public static <A extends Appendable> A appendArray(A target, byte[] b, int offset, int mask, int bLength)
public static <A extends Appendable> A appendArray(A target, char left, byte[] b, int offset, int mask, char right, int bLength)
public static <A extends Appendable> A appendHexArray(A target, char left, byte[] b, int offset, int mask, char right, int bLength)
public static <A extends Appendable> A appendArray(A target, char left, int[] b, long offset, int mask, char right, int bLength)
public static <A extends Appendable> A appendHexArray(A target, char left, int[] b, long offset, int mask, char right, int bLength)
public static <A extends Appendable> A appendArray(A target, char left, int[] a, char right)
public static <A extends Appendable> A appendArray(A target, char left, Object[] a, char right)
public static <A extends Appendable> A appendValue(A target, CharSequence label, int value, CharSequence suffix)
public static <A extends Appendable> A appendValue(A target, CharSequence label, int value)
public static <A extends Appendable> A appendDecimalValue(A target, long m, byte e)
public static <A extends Appendable> A appendValue(A target, int value)
public static <A extends Appendable> A appendHexDigits(A target, int value)
public static <A extends Appendable> A appendHexDigitsRaw(A target, int value)
public static <A extends Appendable> A appendValue(A target, CharSequence label, long value, CharSequence suffix)
public static <A extends Appendable> A appendValue(A target, CharSequence label, long value)
public static int appendedLength(long value)
public static <A extends Appendable> A appendValue(A target, long value)
public static <A extends Appendable> A appendHexDigits(A target, long value)
public static <A extends Appendable> A appendHexDigitsRaw(A target, long value)
public static <A extends Appendable> A appendFixedHexDigits(A target, long value, int bits)
public static <A extends Appendable> A appendFixedDecimalDigits(A target, int value, int tens)
public static <A extends Appendable> A appendFixedDecimalDigits(A target, long value, int tens)
public static <A extends Appendable> A appendFixedHexDigits(A target, int value, int bits)
public static <A extends Appendable> A appendClass(A target, Class clazz, Class clazzParam)
public static <A extends Appendable> A appendStaticCall(A target, Class clazz, String method)
public static StringBuilder truncate(StringBuilder builder)
public static <A extends Appendable> A appendAndSkip(A target, CharSequence source, CharSequence skip)
public static <A extends Appendable> A appendBase64Encoded(A target, byte[] backing, int pos, int len, int mask)
public static <A extends Appendable> A appendBase64(A target, byte[] backing, int pos, int len, int mask)
public static int decodeBase64(byte[] source,
int sourceIdx,
int sourceLen,
int sourceMask,
byte[] target,
int targetIdx,
int targetMask)
public static <A extends Appendable> A appendUTF8(A target, byte[] backing, int pos, int len, int mask)
public static CharSequence[] split(CharSequence text, char c)
public static AppendableProxy proxy(Appendable a)
public static AppendableProxy wrap(Appendable a)
public static <A extends Appendable> A appendEpochTime(A target, long msTime)
public static <A extends Appendable> A appendNearestTimeUnit(A target, long nsValue, String postfix)
public static <A extends Appendable> A appendNearestTimeUnit(A target, long nsValue)
Copyright © 2018. All Rights Reserved.