Experts in SMS and MMS Technology. NCLs Provato is an SMS/MMS Gateway supporting  WAP Push, EMS, MMS, SMS, Nokia Smart Messaging, SMPP, CIMD, UCP, MM7, M20, TC35 NCL Technologies Ltd
Provato - SMS MMS Gateway
Mobile Messaging in J2EE & .NET

SwiftNote - Java SMS Toolkit

ie.ncl.mms
Class UserAgent

java.lang.Object
  extended by ie.ncl.mms.UserAgent

public class UserAgent
extends java.lang.Object

This class is used to specify the type of hanset for which a Multimedia message is destined.

Author:
Michael Kerrin

Field Summary
static UserAgent EMSUserAgent
          Enhanced Message Service (EMS) User Agent - such as the Ericsson T68i handset.
static UserAgent NSMUserAgent
          Nokia Smart Messsaging (NSM) User Agent - such as a Nokia 6310.
static UserAgent SMSUserAgent
          Short Message Service (SMS) User Agent - every day handset.
 
Constructor Summary
UserAgent()
          Create a default user agent.
UserAgent(java.lang.String userAgent)
          Create a user agent.
 
Method Summary
 boolean equals(UserAgent agent)
          Compares this UserAgent with the name of another.
 java.lang.String[] getUserAgent()
          returns a string array representing the useragent.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SMSUserAgent

public static final UserAgent SMSUserAgent
Short Message Service (SMS) User Agent - every day handset.


EMSUserAgent

public static final UserAgent EMSUserAgent
Enhanced Message Service (EMS) User Agent - such as the Ericsson T68i handset.


NSMUserAgent

public static final UserAgent NSMUserAgent
Nokia Smart Messsaging (NSM) User Agent - such as a Nokia 6310.

Constructor Detail

UserAgent

public UserAgent()
Create a default user agent.


UserAgent

public UserAgent(java.lang.String userAgent)
Create a user agent. The user agent name can be EMS, SMS or NSM which indicates that the user agent is a Enhanced Messaging Service, Nokia Smart Messaging or a simple Short Message Service phone.

Method Detail

getUserAgent

public java.lang.String[] getUserAgent()
returns a string array representing the useragent.


equals

public boolean equals(UserAgent agent)
Compares this UserAgent with the name of another.


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Experts in SMS and MMS Technology. NCLs Provato is an SMS/MMS Gateway supporting  WAP Push, EMS, MMS, SMS, Nokia Smart Messaging, SMPP, CIMD, UCP, MM7, M20, TC35 NCL Technologies Ltd
Provato - SMS MMS Gateway
Mobile Messaging in J2EE & .NET

SwiftNote - Java SMS Toolkit