public class AppendableUtil extends Object
Constructor and Description |
---|
AppendableUtil() |
Modifier and Type | Method and Description |
---|---|
static <ACS extends Appendable & CharSequence> |
append(ACS a,
CharSequence cs,
long start,
long len) |
static <ACS extends Appendable & CharSequence> |
append(ACS sb,
String str) |
static void |
append(Appendable sb,
double value) |
static void |
append(Appendable sb,
long value) |
static void |
parse8bit_SB1(Bytes bytes,
StringBuilder sb,
int utflen) |
static void |
parse8bit(StreamingDataInput bytes,
Appendable appendable,
int utflen) |
static void |
read8bitAndAppend(StreamingDataInput bytes,
StringBuilder appendable,
StopCharsTester tester) |
static void |
readUTFAndAppend(StreamingDataInput bytes,
Appendable appendable,
StopCharsTester tester) |
static void |
setCharAt(Appendable sb,
int index,
char ch) |
static void |
setLength(Appendable sb,
int newLength) |
public static void setCharAt(@NotNull Appendable sb, int index, char ch) throws IllegalArgumentException, BufferOverflowException, IORuntimeException
public static void setLength(@NotNull Appendable sb, int newLength) throws BufferUnderflowException, IllegalArgumentException
public static void append(@NotNull Appendable sb, double value) throws IllegalArgumentException, IORuntimeException, BufferOverflowException
public static void append(@NotNull Appendable sb, long value) throws IllegalArgumentException, IORuntimeException, BufferOverflowException
public static <ACS extends Appendable & CharSequence> void append(@NotNull ACS sb, String str)
public static void read8bitAndAppend(@NotNull StreamingDataInput bytes, @NotNull StringBuilder appendable, @NotNull StopCharsTester tester) throws IORuntimeException
IORuntimeException
public static void readUTFAndAppend(@NotNull StreamingDataInput bytes, @NotNull Appendable appendable, @NotNull StopCharsTester tester) throws IOException, BufferUnderflowException
IOException
BufferUnderflowException
public static void parse8bit_SB1(@NotNull Bytes bytes, @NotNull StringBuilder sb, int utflen) throws IORuntimeException, BufferUnderflowException
public static void parse8bit(@NotNull StreamingDataInput bytes, Appendable appendable, int utflen) throws IORuntimeException, BufferUnderflowException
public static <ACS extends Appendable & CharSequence> void append(ACS a, CharSequence cs, long start, long len)
Copyright © 2015. All rights reserved.