org.mobicents.protocols.ss7.map.service.supplementary
Class USSDStringImpl

java.lang.Object
  extended by org.mobicents.protocols.ss7.map.service.supplementary.USSDStringImpl
All Implemented Interfaces:
USSDString

public class USSDStringImpl
extends java.lang.Object
implements USSDString

Author:
amit bhayani

Constructor Summary
USSDStringImpl(byte[] encodedString, java.nio.charset.Charset charset)
           
USSDStringImpl(java.lang.String ussdString, java.nio.charset.Charset charset)
           
 
Method Summary
 void decode()
           
 void encode()
           
 java.nio.charset.Charset getCharset()
           
 byte[] getEncodedString()
           
 java.lang.String getString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

USSDStringImpl

public USSDStringImpl(java.lang.String ussdString,
                      java.nio.charset.Charset charset)

USSDStringImpl

public USSDStringImpl(byte[] encodedString,
                      java.nio.charset.Charset charset)
Method Detail

getEncodedString

public byte[] getEncodedString()
Specified by:
getEncodedString in interface USSDString

getString

public java.lang.String getString()
Specified by:
getString in interface USSDString

getCharset

public java.nio.charset.Charset getCharset()
Specified by:
getCharset in interface USSDString

decode

public void decode()
            throws MAPException
Specified by:
decode in interface USSDString
Throws:
MAPException

encode

public void encode()
            throws MAPException
Specified by:
encode in interface USSDString
Throws:
MAPException


Copyright © 2011. All Rights Reserved.