| Package | Description |
|---|---|
| com.cloudhopper.smpp.tlv | |
| com.cloudhopper.smpp.util |
| Modifier and Type | Method and Description |
|---|---|
byte |
Tlv.getValueAsByte()
Attempts to get the underlying value as a byte.
|
int |
Tlv.getValueAsInt()
Attempts to get the underlying value as an int.
|
long |
Tlv.getValueAsLong()
Attempts to get the underlying value as a long.
|
short |
Tlv.getValueAsShort()
Attempts to get the underlying value as a short.
|
String |
Tlv.getValueAsString() |
String |
Tlv.getValueAsString(String charsetName) |
short |
Tlv.getValueAsUnsignedByte()
Attempts to get the underlying value as an unsigned byte.
|
long |
Tlv.getValueAsUnsignedInt()
Attempts to get the underlying value as an unsigned int.
|
int |
Tlv.getValueAsUnsignedShort()
Attempts to get the underlying value as an unsigned short.
|
| Modifier and Type | Method and Description |
|---|---|
static Tlv |
TlvUtil.createFixedLengthStringTlv(short tag,
String value,
int fixedLength)
Writes a fixed length String TLV with null bytes filling the remaining
part of the byte array.
|
static Tlv |
TlvUtil.createFixedLengthStringTlv(short tag,
String value,
int fixedLength,
String charsetName)
Writes a fixed length String TLV with null bytes filling the remaining
part of the byte array.
|
static Tlv |
TlvUtil.createNullTerminatedStringTlv(short tag,
String value)
Writes a variable length C-String (null terminated) TLV.
|
static Tlv |
TlvUtil.createNullTerminatedStringTlv(short tag,
String value,
String charsetName)
Writes a variable length C-String (null terminated) TLV.
|
Copyright © 2009-2014 Cloudhopper by Twitter. All Rights Reserved.