public enum AppendableUtil extends Enum<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 long |
findUtf8Length(char[] chars) |
static long |
findUtf8Length(CharSequence str) |
static void |
parse8bit_SB1(Bytes bytes,
StringBuilder sb,
int utflen) |
static void |
parse8bit(StreamingDataInput bytes,
Appendable appendable,
int utflen) |
static void |
parseUtf8(BytesStore bs,
StringBuilder sb,
int utflen) |
static void |
read8bitAndAppend(StreamingDataInput bytes,
StringBuilder appendable,
StopCharsTester tester) |
static void |
readUtf8AndAppend(StreamingDataInput bytes,
Appendable 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) |
static AppendableUtil |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AppendableUtil[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static AppendableUtil[] values()
for (AppendableUtil c : AppendableUtil.values()) System.out.println(c);
public static AppendableUtil valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static void setCharAt(@NotNull
Appendable sb,
int index,
char ch)
throws IllegalArgumentException,
BufferOverflowException,
net.openhft.chronicle.core.io.IORuntimeException
IllegalArgumentExceptionBufferOverflowExceptionnet.openhft.chronicle.core.io.IORuntimeExceptionpublic static void parseUtf8(BytesStore bs, StringBuilder sb, int utflen)
public static void setLength(@NotNull
Appendable sb,
int newLength)
throws BufferUnderflowException,
IllegalArgumentException
public static void append(@NotNull
Appendable sb,
double value)
throws IllegalArgumentException,
net.openhft.chronicle.core.io.IORuntimeException,
BufferOverflowException
IllegalArgumentExceptionnet.openhft.chronicle.core.io.IORuntimeExceptionBufferOverflowExceptionpublic static void append(@NotNull
Appendable sb,
long value)
throws IllegalArgumentException,
net.openhft.chronicle.core.io.IORuntimeException,
BufferOverflowException
IllegalArgumentExceptionnet.openhft.chronicle.core.io.IORuntimeExceptionBufferOverflowExceptionpublic 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 net.openhft.chronicle.core.io.IORuntimeException
net.openhft.chronicle.core.io.IORuntimeExceptionpublic static void readUTFAndAppend(@NotNull
StreamingDataInput bytes,
@NotNull
Appendable appendable,
@NotNull
StopCharsTester tester)
throws IOException,
BufferUnderflowException
IOExceptionBufferUnderflowExceptionpublic static void readUtf8AndAppend(@NotNull
StreamingDataInput bytes,
@NotNull
Appendable appendable,
@NotNull
StopCharsTester tester)
throws IOException,
BufferUnderflowException
IOExceptionBufferUnderflowExceptionpublic static void parse8bit_SB1(@NotNull
Bytes bytes,
@NotNull
StringBuilder sb,
int utflen)
throws net.openhft.chronicle.core.io.IORuntimeException,
BufferUnderflowException
net.openhft.chronicle.core.io.IORuntimeExceptionBufferUnderflowExceptionpublic static void parse8bit(@NotNull
StreamingDataInput bytes,
Appendable appendable,
int utflen)
throws net.openhft.chronicle.core.io.IORuntimeException,
BufferUnderflowException
net.openhft.chronicle.core.io.IORuntimeExceptionBufferUnderflowExceptionpublic static <ACS extends Appendable & CharSequence> void append(ACS a, CharSequence cs, long start, long len)
public static long findUtf8Length(@NotNull
CharSequence str)
throws IndexOutOfBoundsException
IndexOutOfBoundsExceptionpublic static long findUtf8Length(@NotNull
char[] chars)
Copyright © 2016. All rights reserved.