Platform SDK Java 8.5 API Reference

com.genesyslab.platform.webmedia.protocol.email
Class AttachmentCollection

java.lang.Object
  extended by com.genesyslab.platform.commons.collections.KVList
      extended by com.genesyslab.platform.commons.collections.KeyValueCollection
          extended by com.genesyslab.platform.webmedia.protocol.email.AttachmentCollection
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable, java.util.Collection

public class AttachmentCollection
extends KeyValueCollection

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.genesyslab.platform.commons.collections.KVList
KVList.PairList
 
Field Summary
 
Fields inherited from class com.genesyslab.platform.commons.collections.KVList
storage
 
Constructor Summary
AttachmentCollection()
           
 
Method Summary
 void addAttachment(Attachment att)
           
 void addAttachment(java.lang.String name, Attachment att)
          Deprecated.  
 Attachment getAttachment(int index)
           
 Attachment getAttachment(java.lang.String name)
           
 void removeAttachment(int index)
           
 void removeAttachment(java.lang.String name)
           
 
Methods inherited from class com.genesyslab.platform.commons.collections.KeyValueCollection
addList, addObject, addPair, createPair, getList, getPair, remove, throwNotPair, toString, toStringLine
 
Methods inherited from class com.genesyslab.platform.commons.collections.KVList
add, addAll, addBinary, addInt, addInt, addString, addUTFString, addUTFString, clear, clone, contains, containsAll, containsKey, equals, getBinary, getComparator, getEnumeration, getEnumeration, getInt, getPairEnumeration, getString, hashCode, isEmpty, iterator, length, remove, removeAll, removePair, retainAll, setComparator, size, toArray, toArray
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AttachmentCollection

public AttachmentCollection()
Method Detail

addAttachment

public void addAttachment(java.lang.String name,
                          Attachment att)
Deprecated. 

Add attachment to attachment collection. This method is deprecated - name parameter is redundant here.

Parameters:
name - attachment name (not used, use 'att.getName()' instead)
att - attachment to be added
See Also:
addAttachment(Attachment), Attachment.getName()

addAttachment

public void addAttachment(Attachment att)

getAttachment

public Attachment getAttachment(java.lang.String name)

getAttachment

public Attachment getAttachment(int index)

removeAttachment

public void removeAttachment(java.lang.String name)

removeAttachment

public void removeAttachment(int index)

Platform SDK Java 8.5 API Reference

Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 8.5.302.00
Copyright © 2006–2017 Genesys Telecommunications Laboratories, Inc. All rights reserved.