public static interface IMAPFolder.ProtocolCommand
Modifier and Type | Method and Description |
---|---|
Object |
doCommand(com.sun.mail.imap.protocol.IMAPProtocol protocol)
Execute the user-defined command using the supplied IMAPProtocol
object.
|
Object doCommand(com.sun.mail.imap.protocol.IMAPProtocol protocol) throws com.sun.mail.iap.ProtocolException
protocol
- the IMAPProtocol for the connectioncom.sun.mail.iap.ProtocolException
- for protocol errorsCopyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.