org.apache.vysper.xmpp.modules.roster
Class RosterUtils

java.lang.Object
  extended by org.apache.vysper.xmpp.modules.roster.RosterUtils

public class RosterUtils
extends java.lang.Object


Constructor Summary
RosterUtils()
           
 
Method Summary
static java.util.Map<SubscriptionType,java.util.List<RosterItem>> getRosterItemsByState(RosterManager rosterManager, Entity user)
           
static RosterItem parseRosterItem(IQStanza stanza)
           
static RosterItem parseRosterItemForTesting(IQStanza stanza)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RosterUtils

public RosterUtils()
Method Detail

getRosterItemsByState

public static java.util.Map<SubscriptionType,java.util.List<RosterItem>> getRosterItemsByState(RosterManager rosterManager,
                                                                                               Entity user)

parseRosterItem

public static RosterItem parseRosterItem(IQStanza stanza)
                                  throws RosterBadRequestException,
                                         RosterNotAcceptableException
Throws:
RosterBadRequestException
RosterNotAcceptableException

parseRosterItemForTesting

public static RosterItem parseRosterItemForTesting(IQStanza stanza)
                                            throws RosterBadRequestException,
                                                   RosterNotAcceptableException
Throws:
RosterBadRequestException
RosterNotAcceptableException