com.aspose.network
Class HeaderCollection

java.lang.Object
  extended by com.aspose.network.HeaderCollection
All Implemented Interfaces:
Iterable<String>

public class HeaderCollection
extends Object
implements Iterable<String>


Nested Class Summary
static class HeaderCollection.KeysCollection
           
 
Constructor Summary
HeaderCollection()
           
HeaderCollection(HeaderCollection col)
           
 
Method Summary
 void add_(String name, String value)
           
 void add(HeaderCollection c)
           
 void add(MimeHeader header)
          Deprecated. 
 void add(String name, String value)
           
 void clear()
           
 void copyTo(Object[] dest, int index)
           
 String get(int index)
           
 String get(String name)
           
 String[] getAllKeys()
           
 int getCount()
           
 String getKey(int index)
           
 HeaderCollection.KeysCollection getKeys()
           
 String[] getValues(String name)
           
 boolean hasKeys()
           
 Iterator iterator()
           
 void remove(String name)
           
 void set(String name, String value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HeaderCollection

public HeaderCollection(HeaderCollection col)

HeaderCollection

public HeaderCollection()
Method Detail

add

public void add(HeaderCollection c)

clear

public void clear()

copyTo

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

hasKeys

public boolean hasKeys()

add_

public void add_(String name,
                 String value)

get

public String get(String name)

set

public void set(String name,
                String value)

get

public String get(int index)

getKey

public String getKey(int index)

getAllKeys

public String[] getAllKeys()

remove

public void remove(String name)

getValues

public String[] getValues(String name)

add

public void add(String name,
                String value)

add

@Deprecated
public void add(MimeHeader header)
Deprecated. 


iterator

public Iterator iterator()
Specified by:
iterator in interface Iterable<String>

getCount

public int getCount()

getKeys

public HeaderCollection.KeysCollection getKeys()


Copyright (c) 2002-2011 Aspose Pty Ltd. All Rights Reserved.