net.sourceforge.jmmslib
Class MmsDecoder

java.lang.Object
  extended by net.sourceforge.jmmslib.MmsDecoder

public class MmsDecoder
extends java.lang.Object

Decodes a binary mms object in a MmsMessage class.

Actually this class is very limited and it is only capable of decoding send_conf mms messages.

Author:
Andrea Zito

Constructor Summary
MmsDecoder(byte[] binaryMms)
          Creates an MmsDecoder object for the specified binary mms object
 
Method Summary
 MmsMessage decodeMessage()
          Decodes a send_conf mms message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MmsDecoder

public MmsDecoder(byte[] binaryMms)
Creates an MmsDecoder object for the specified binary mms object

Method Detail

decodeMessage

public MmsMessage decodeMessage()
                         throws MmsDecoderException,
                                MmsMessageException
Decodes a send_conf mms message.

Returns:
decoded message
Throws:
MmsDecoderException - error decoding the message
MmsMessageException - error filling up the value of the message