|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.abstracthorizon.mercury.imap.cmd.IMAPCommandFactory
public class IMAPCommandFactory
IMAP Commands factory
Field Summary | |
---|---|
protected static Map<String,Class<? extends IMAPCommand>> |
commands
Map of commands |
protected static org.slf4j.Logger |
logger
Logger |
Constructor Summary | |
---|---|
IMAPCommandFactory()
Constructor |
Method Summary | |
---|---|
protected static void |
add(String mnemonic,
Class<? extends IMAPCommand> c)
Adds new command |
org.abstracthorizon.danube.connection.ConnectionHandler |
getCommand(String mnemonic)
Returns requested command |
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 static Map<String,Class<? extends IMAPCommand>> commands
Constructor Detail |
---|
public IMAPCommandFactory()
Method Detail |
---|
protected static void add(String mnemonic, Class<? extends IMAPCommand> c)
mnemonic
- mnemonicc
- commandpublic org.abstracthorizon.danube.connection.ConnectionHandler getCommand(String mnemonic) throws CommandException
mnemonic
- mnemonic
Bad
if command can't be found
CommandException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |