public final class AMQShortString extends Object implements Comparable<AMQShortString>
| Modifier and Type | Field and Description |
|---|---|
static AMQShortString |
EMPTY_STRING |
static int |
MAX_LENGTH
The maximum number of octets in AMQ short string as defined in AMQP specification
|
| Modifier and Type | Method and Description |
|---|---|
char |
charAt(int index) |
int |
compareTo(AMQShortString name) |
boolean |
contains(byte b) |
static AMQShortString |
createAMQShortString(byte[] data) |
static AMQShortString |
createAMQShortString(String string) |
boolean |
equals(AMQShortString otherString) |
boolean |
equals(Object o) |
byte[] |
getBytes() |
int |
hashCode() |
int |
length()
Get the length of the short string
|
static AMQShortString |
readAMQShortString(QpidByteBuffer buffer) |
static String |
readAMQShortStringAsString(QpidByteBuffer buffer) |
String |
toString() |
static String |
toString(AMQShortString amqShortString) |
static AMQShortString |
validValueOf(Object obj) |
static AMQShortString |
valueOf(Object obj) |
static AMQShortString |
valueOf(String obj) |
static void |
writeShortString(QpidByteBuffer buffer,
String data) |
void |
writeToBuffer(QpidByteBuffer buffer) |
public static final int MAX_LENGTH
public static final AMQShortString EMPTY_STRING
public static String readAMQShortStringAsString(QpidByteBuffer buffer)
public static AMQShortString readAMQShortString(QpidByteBuffer buffer)
public static AMQShortString createAMQShortString(byte[] data)
public static AMQShortString createAMQShortString(String string)
public int length()
public char charAt(int index)
public byte[] getBytes()
public void writeToBuffer(QpidByteBuffer buffer)
public static void writeShortString(QpidByteBuffer buffer, String data)
public boolean equals(AMQShortString otherString)
public int compareTo(AMQShortString name)
compareTo in interface Comparable<AMQShortString>public boolean contains(byte b)
public static AMQShortString validValueOf(Object obj)
public static AMQShortString valueOf(Object obj)
public static AMQShortString valueOf(String obj)
public static String toString(AMQShortString amqShortString)
Copyright © 2006–2021 The Apache Software Foundation. All rights reserved.