com.aspose.email

com.aspose.email

Class HeaderCollection

All Implemented Interfaces:
Iterable<String>
public class HeaderCollection
extends Object
implements Iterable<String>

Defines the collection of header fields

Nested Class Summary
staticclass
 
Constructor Summary
 
Method Summary
void
add_(String name, String value)
void
void
add(MimeHeader header)
Deprecated. 
void
add(String name, String value)
void
void
copyTo(Object[]dest, intindex)
get_Item(intindex)
get(intindex)
get(String name)
getAllKeys()
Gets an array of strings containing all header keys in collections
int
getCount()
Gets a count of headers
getKey(intindex)
getKeys()
Gets a KeysCollection containing all header keys in collections
boolean
boolean
void
remove(String name)
void
set_Item(String name, String value)
void
set(String name, String value)
 
Methods inherited from class java.lang.Object
 

    • Constructor Detail

      • HeaderCollection

        public HeaderCollection()
    • Method Detail

      • getAllKeys

        public String[] getAllKeys()

        Gets an array of strings containing all header keys in collections

      • getCount

        public int getCount()

        Gets a count of headers

      • isSynchronized

        public boolean isSynchronized()
      • get_Item

        public String get_Item(int index)
      • clear

        public void clear()
      • getKey

        public String getKey(int index)
      • get

        public String get(int index)
      • copyTo

        public void copyTo(Object[] dest,
                           int index)
      • hasKeys

        public boolean hasKeys()
      • remove

        public void remove(String name)