org.apache.geronimo.javamail.store.imap.connection
Class IMAPInternetHeader

java.lang.Object
  extended by org.apache.geronimo.javamail.store.imap.connection.IMAPFetchDataItem
      extended by org.apache.geronimo.javamail.store.imap.connection.IMAPFetchBodyPart
          extended by org.apache.geronimo.javamail.store.imap.connection.IMAPInternetHeader

public class IMAPInternetHeader
extends IMAPFetchBodyPart


Field Summary
 InternetHeaders headers
           
 
Fields inherited from class org.apache.geronimo.javamail.store.imap.connection.IMAPFetchBodyPart
section
 
Fields inherited from class org.apache.geronimo.javamail.store.imap.connection.IMAPFetchDataItem
BODY, BODYSTRUCTURE, ENVELOPE, FETCH, FLAGS, HEADER, INTERNALDATE, SIZE, TEXT, type, UID
 
Constructor Summary
IMAPInternetHeader(byte[] data)
          Construct a top-level HEADER data item.
IMAPInternetHeader(IMAPBodySection section, byte[] data)
          Construct a HEADER request data item.
 
Method Summary
 boolean isComplete()
          Test if this is a complete header fetch, or just a partial list fetch.
 
Methods inherited from class org.apache.geronimo.javamail.store.imap.connection.IMAPFetchBodyPart
getPartNumber, getSectionType, getSubstringLength, getSubstringStart
 
Methods inherited from class org.apache.geronimo.javamail.store.imap.connection.IMAPFetchDataItem
getType, isType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

headers

public InternetHeaders headers
Constructor Detail

IMAPInternetHeader

public IMAPInternetHeader(byte[] data)
                   throws MessagingException
Construct a top-level HEADER data item.

Parameters:
data - The data for the InternetHeaders.
Throws:
MessagingException

IMAPInternetHeader

public IMAPInternetHeader(IMAPBodySection section,
                          byte[] data)
                   throws MessagingException
Construct a HEADER request data item.

Parameters:
section - The Section identifier information.
data - The raw data for the internet headers.
Throws:
MessagingException
Method Detail

isComplete

public boolean isComplete()
Test if this is a complete header fetch, or just a partial list fetch.

Returns:


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