|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.abstracthorizon.mercury.imap.cmd.IMAPCommand
org.abstracthorizon.mercury.imap.cmd.UIDCommand
org.abstracthorizon.mercury.imap.cmd.Store
public class Store
Store IMAP command
Field Summary | |
---|---|
protected Flags |
flags
Flags |
protected static org.slf4j.Logger |
logger
Logger |
Fields inherited from class org.abstracthorizon.mercury.imap.cmd.UIDCommand |
---|
asuid |
Fields inherited from class org.abstracthorizon.mercury.imap.cmd.IMAPCommand |
---|
ALWAYS_SEND_UNILATERAL_DATA, ALWAYS_SUPRESS_UNILATERAL_DATA, mnemonic, SEND_WHEN_HAVE_NEW, unilateral |
Constructor Summary | |
---|---|
Store(String mnemonic)
Constructor |
Method Summary | |
---|---|
protected void |
execute(IMAPSession session)
Executes the command |
void |
process(IMAPSession session,
javax.mail.internet.MimeMessage m)
Processes the message |
static boolean |
store_atts(IMAPScanner scanner,
Flags flags)
Scans for store attributes |
Methods inherited from class org.abstracthorizon.mercury.imap.cmd.UIDCommand |
---|
setAsUID |
Methods inherited from class org.abstracthorizon.mercury.imap.cmd.IMAPCommand |
---|
checkEOL, getMnemonic, handleConnection, sendOK |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final org.slf4j.Logger logger
protected Flags flags
Constructor Detail |
---|
public Store(String mnemonic)
mnemonic
- mnemonicMethod Detail |
---|
protected void execute(IMAPSession session) throws ParserException, javax.mail.MessagingException, CommandException, IOException
execute
in class IMAPCommand
session
-
ParserException
javax.mail.MessagingException
CommandException
IOException
public void process(IMAPSession session, javax.mail.internet.MimeMessage m) throws javax.mail.MessagingException, IOException
process
in interface MessageProcessor
process
in class UIDCommand
session
- sessionm
- message
javax.mail.MessagingException
IOException
public static boolean store_atts(IMAPScanner scanner, Flags flags) throws ParserException, IOException
scanner
- scannerflags
- flags
true
if processing is successful
ParserException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |