org.mobicents.protocols.ss7.map.api.service.supplementary
Interface USSDString


public interface USSDString

Author:
amit bhayani

Method Summary
 void decode()
          Decode the byte[] that represents the USSD String.
 void encode()
          Encode the set USSD String.
 java.nio.charset.Charset getCharset()
          Get the Charset
 byte[] getEncodedString()
          Get the byte[] that represents encoded USSD String
 java.lang.String getString()
          Get the decoded USSD String
 

Method Detail

getString

java.lang.String getString()
Get the decoded USSD String

Returns:

getEncodedString

byte[] getEncodedString()
Get the byte[] that represents encoded USSD String

Returns:

getCharset

java.nio.charset.Charset getCharset()
Get the Charset

Returns:

encode

void encode()
            throws MAPException
Encode the set USSD String. After calling this operation, call getEncodedString() to get the encoded byte[]

Throws:
MAPException

decode

void decode()
            throws MAPException
Decode the byte[] that represents the USSD String. After calling this operation call getString() to get the USSD String

Throws:
MAPException


Copyright © 2010. All Rights Reserved.