org.apache.activemq.protobuf
Class UTF8Buffer
java.lang.Object
org.apache.activemq.protobuf.Buffer
org.apache.activemq.protobuf.UTF8Buffer
- All Implemented Interfaces:
- java.lang.Comparable<Buffer>
public final class UTF8Buffer
- extends Buffer
Methods inherited from class org.apache.activemq.protobuf.Buffer |
byteAt, contains, equals, getData, getLength, getOffset, indexOf, isEmpty, join, newInput, newOutput, slice, toByteArray, toStringUtf8 |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
UTF8Buffer
public UTF8Buffer(Buffer other)
UTF8Buffer
public UTF8Buffer(byte[] data,
int offset,
int length)
UTF8Buffer
public UTF8Buffer(byte[] data)
UTF8Buffer
public UTF8Buffer(java.lang.String input)
compact
public UTF8Buffer compact()
- Overrides:
compact
in class Buffer
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
compareTo
public int compareTo(Buffer other)
- Specified by:
compareTo
in interface java.lang.Comparable<Buffer>
- Overrides:
compareTo
in class Buffer
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class Buffer
hashCode
public int hashCode()
- Overrides:
hashCode
in class Buffer
encode
public static byte[] encode(java.lang.String value)
decode
public static java.lang.String decode(Buffer buffer)
Copyright © 2012. All Rights Reserved.