org.abstracthorizon.mercury.imap.response
Class ListResponse

java.lang.Object
  extended by org.abstracthorizon.mercury.imap.response.Response
      extended by org.abstracthorizon.mercury.imap.response.MnemonicResponse
          extended by org.abstracthorizon.mercury.imap.response.ListResponse
Direct Known Subclasses:
LsubResponse

public class ListResponse
extends MnemonicResponse

List response

Author:
Daniel Sendula

Field Summary
protected  String msg
          Message
 
Fields inherited from class org.abstracthorizon.mercury.imap.response.MnemonicResponse
mnemonic
 
Fields inherited from class org.abstracthorizon.mercury.imap.response.Response
CONTINUATION_RESPONSE, session, TAGGED_RESPONSE, UNTAGGED_RESPONSE
 
Constructor Summary
  ListResponse(IMAPSession session, javax.mail.Folder f)
          Constructor
protected ListResponse(IMAPSession session, String mnemonic, javax.mail.Folder f)
          Constructor
 
Method Summary
static String composeMessage(javax.mail.Folder f)
          Composes the message
 
Methods inherited from class org.abstracthorizon.mercury.imap.response.Response
append, append, append, append, append, append, append, append, commit, submit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

msg

protected String msg
Message

Constructor Detail

ListResponse

public ListResponse(IMAPSession session,
                    javax.mail.Folder f)
             throws javax.mail.MessagingException
Constructor

Parameters:
session - imap session
f - folder
Throws:
javax.mail.MessagingException

ListResponse

protected ListResponse(IMAPSession session,
                       String mnemonic,
                       javax.mail.Folder f)
                throws javax.mail.MessagingException
Constructor

Parameters:
session - imap session
mnemonic - mnemonic
f - folder
Throws:
javax.mail.MessagingException
Method Detail

composeMessage

public static final String composeMessage(javax.mail.Folder f)
                                   throws javax.mail.MessagingException
Composes the message

Parameters:
f - folder
Returns:
string representation
Throws:
javax.mail.MessagingException


Copyright © 2005-2009 Abstract Horizon. All Rights Reserved.