All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.yahoo.imapnio.async.request.CreateFolderCommand Maven / Gradle / Ivy

The newest version!
package com.yahoo.imapnio.async.request;

import javax.annotation.Nonnull;

/**
 * This class defines imap create command request from client.
 */
public class CreateFolderCommand extends AbstractFolderActionCommand {

    /** Literal Create. */
    private static final String CREATE = "CREATE";

    /**
     * Initializes a {@link CreateFolderCommand}.
     *
     * @param folderName folder name to create
     */
    public CreateFolderCommand(@Nonnull final String folderName) {
        super(CREATE, folderName);
    }

    @Override
    public ImapRFCSupportedCommandType getCommandType() {
        return ImapRFCSupportedCommandType.CREATE_FOLDER;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy