Package com.sun.mail.imap
Interface IMAPFolder.ProtocolCommand
-
- Enclosing class:
- IMAPFolder
public static interface IMAPFolder.ProtocolCommandA simple interface for user-defined IMAP protocol commands.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.ObjectdoCommand(com.sun.mail.imap.protocol.IMAPProtocol protocol)Execute the user-defined command using the supplied IMAPProtocol object.
-
-
-
Method Detail
-
doCommand
java.lang.Object doCommand(com.sun.mail.imap.protocol.IMAPProtocol protocol) throws com.sun.mail.iap.ProtocolExceptionExecute the user-defined command using the supplied IMAPProtocol object.- Parameters:
protocol- the IMAPProtocol for the connection- Returns:
- the results of the command
- Throws:
com.sun.mail.iap.ProtocolException- for protocol errors
-
-