IMAPFolder.ProtocolCommand (JavaMail API documentation)
Date: 2019-08-31

com.sun.mail.imap

## Interface IMAPFolder.ProtocolCommand

- Enclosing class:
    IMAPFolder

      public static interface IMAPFolder.ProtocolCommand

  A simple interface for user-defined IMAP protocol commands.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.Object` | `doCommand(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.ProtocolException

      Execute the user-defined command using the supplied IMAPProtocol object.
      Throws:
        `com.sun.mail.iap.ProtocolException`

Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms< /a>.