org.apache.james.jdkim.api
Interface Headers

All Known Implementing Classes:
Message

public interface Headers


Method Summary
 List getFields()
          Gets the fields of this header.
 List getFields(String name)
          Gets all Fields having the specified field name in a case insensitive way.
 

Method Detail

getFields

List getFields()
Gets the fields of this header. The returned list will not be modifiable.

Returns:
the list of Field objects.

getFields

List getFields(String name)
Gets all Fields having the specified field name in a case insensitive way.

Parameters:
name - the field name (e.g. From, Subject).
Returns:
the list of fields.


Copyright © 2008-2009 The Apache Software Foundation. All Rights Reserved.