public static interface IMAPFolder.ProtocolCommand
Modifier and Type | Method | Description |
---|---|---|
java.lang.Object |
doCommand(com.sun.mail.imap.protocol.IMAPProtocol protocol) |
Execute the user-defined command using the supplied IMAPProtocol
object.
|
java.lang.Object doCommand(com.sun.mail.imap.protocol.IMAPProtocol protocol) throws ProtocolException
protocol
- the IMAPProtocol for the connectionProtocolException
- for protocol errors