com.yahoo.imapnio.async.request.CreateFolderCommand Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of imapnio.core Show documentation
Show all versions of imapnio.core Show documentation
imapnio component ${project.name}
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