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

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Object` | `doCommand(IMAPProtocol protocol)` Execute the user-defined command using the supplied IMAPProtocol object.

- - ### Method Detail

    - #### doCommand

          Object doCommand(IMAPProtocol protocol)
                           throws ProtocolException

      Execute the user-defined command using the supplied IMAPProtocol object.
      Throws:
        `ProtocolException`

Copyright © 2013 Oracle. All Rights Reserved.