Package | Description |
---|---|
com.opencloud.slee.resources.cgin |
Defines an API for the CGIN infrastructure on which all protocols are built.
|
com.opencloud.slee.resources.in.datatypes |
Defines classes that support the representation of low-level types
for which their ASN.1 specifications say merely OCTET STRING,
and for which standards define the layout of bit-fields within the octet strings.
|
com.opencloud.slee.resources.in.datatypes.sms |
Defines classes to represent some short message service (SMS) types
for which their ASN.1 specifications say merely OCTET STRING,
and for which standards define the layout of bit-fields within the octet strings.
|
Modifier and Type | Method and Description |
---|---|
StringIndicators |
StringIndicators.clone()
Constructs a copy of this object and everything reachable from it.
|
static StringIndicators |
StringIndicators.copyOf(StringIndicators from)
Creates a new object of this type, initialising its field values from those of the given object.
|
StringIndicators |
EncodedStringWithIndicators.getIndicators()
Gets the value of the indicators.
|
StringIndicators |
StringIndicators.setNumSemiOctets(int value)
Sets the value of the numSemiOctets indicator.
|
StringIndicators |
StringIndicators.setNumSemiOctetsPresent(boolean flag)
Sets the presence or absence of the field NumSemiOctets.
|
StringIndicators |
StringIndicators.setOdd(boolean value)
Sets the value of the odd indicator.
|
StringIndicators |
StringIndicators.setOddPresent(boolean flag)
Sets the presence or absence of the field Odd.
|
Modifier and Type | Method and Description |
---|---|
static StringIndicators |
StringIndicators.copyOf(StringIndicators from)
Creates a new object of this type, initialising its field values from those of the given object.
|
EncodedStringWithIndicators |
EncodedStringWithIndicators.setIndicators(StringIndicators value)
Sets the value of the indicators.
|
Constructor and Description |
---|
EncodedStringWithIndicators(byte[] data,
StringIndicators indicators)
Constructs a new EncodedStringWithIndicators object from given values for all fields.
|
Modifier and Type | Method and Description |
---|---|
String |
StringCodec.decodeString(byte[] encoded,
StringIndicators indicators)
Decodes a String of characters from a byte array,
using the given indicators to distinguish encoded characters from padding.
|
String |
ISO646BCDStringCodec.decodeString(byte[] encoded,
StringIndicators indicators)
Decodes a String of characters from a byte array,
taking digits from all semi-octets left-to-right in pairs,
expecting only values [0,95], adding 32,
and converting to the printable ASCII/ISO646-US character of that code.
|
String |
IA5StringCodec.decodeString(byte[] encoded,
StringIndicators indicators)
Decodes a String of characters from a byte array,
taking all values (regardless of given odd),
expecting only values [0,127],
and decoding them to ASCII/ISO646-US characters.
|
String |
BinaryStringCodec.decodeString(byte[] encoded,
StringIndicators indicators)
Decodes a String of characters from a byte array,
taking length values from octets,
rejecting any value that isn't in range [0,9],
and decoding to characters ['0','9'].
|
String |
BCDStringCodec.decodeString(byte[] encoded,
StringIndicators indicators)
Decodes a String of characters from a byte array,
rejecting any value marked as invalid (?) in the digit mapping.
|
String |
BCDPlacesStringCodec.decodeString(byte[] encoded,
StringIndicators indicators)
Decodes a String containing a decimal number from a byte array,
positioning the decimal point between before and after numbers of digits,
and eliding leading 0s.
|
byte[] |
StringCodec.encodeString(String string,
StringIndicators indicators)
Encodes a String of characters to a byte array,
noting indicators that would be needed for decoding
by this or other StringCodecs.
|
byte[] |
ISO646BCDStringCodec.encodeString(String string,
StringIndicators indicators)
Encodes a String of characters to a byte array,
accepting only printable ASCII/ISO646-US characters,
and encoding each character in an octet by taking its ASCII code, subtracting 32,
and encoding each of the resulting two decimal digits in a semi-octet,
with the semi-octets written left-to-right.
|
byte[] |
IA5StringCodec.encodeString(String string,
StringIndicators indicators)
Encodes a String of characters to a byte array,
accepting only ASCII/ISO646-US characters,
and encoding each character according to that character set.
|
byte[] |
BinaryStringCodec.encodeString(String string,
StringIndicators indicators)
Encodes a String of characters to a byte array,
accepting only decimal digit characters ['0','9'],
and encoding each digit in an octet as [0,9].
|
byte[] |
BCDStringCodec.encodeString(String string,
StringIndicators indicators)
Encodes a String of characters to a byte array,
accepting only characters present in the 16-character digit mapping,
and encoding each in a semi-octet as [0,15].
|
byte[] |
BCDPlacesStringCodec.encodeString(String string,
StringIndicators indicators)
Encodes a String containing a decimal number to a byte array,
with each digit being encoded in a semi-octet,
aligning the encoding around particular numbers of digits before and after
the decimal point, which itself is not explicitly encoded,
padding with 0s before and after.
|
Modifier and Type | Method and Description |
---|---|
String |
GSM7PACKEDStringCodec.decodeString(byte[] encoded,
StringIndicators indicators)
Decodes a String of characters from a byte array,
expecting 7-bit packed format of GSM7 characters,
using the given indicators to distinguish
whether 1 or 8 bits are used in the last octet.
|
byte[] |
GSM7PACKEDStringCodec.encodeString(String string,
StringIndicators indicators)
Encodes a String of characters to a byte array,
accepting only GSM7 characters
and encoding them in 7-bit packed format.
|