Compoze Software, Inc.

com.compoze.collab.groupware
Class RecipientHelper

java.lang.Object
  extended bycom.compoze.collab.groupware.RecipientHelper

public class RecipientHelper
extends java.lang.Object

This class provides methods useful for working with recipients.


Constructor Summary
RecipientHelper()
           
 
Method Summary
static IMailRecipient[] getRecipientsByType(IMailRecipient[] recipients, RecipientType recipType)
          Gets the recipients from the array by the specified type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RecipientHelper

public RecipientHelper()
Method Detail

getRecipientsByType

public static IMailRecipient[] getRecipientsByType(IMailRecipient[] recipients,
                                                   RecipientType recipType)
                                            throws CollaborationException
Gets the recipients from the array by the specified type.

Parameters:
recipients - the recipients to get from (not null)
recipType - the recipient type (not null)
Returns:
an array of the matching recipients (an empty array if there are no recipients of the specified type)
Throws:
CollaborationException

Compoze Software, Inc.

Copyright ©1999-2003 Compoze Software, Inc. All rights reserved.