com.yahoo.imapnio.async.request.LSubCommand 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 lsub command request from client.
*/
public class LSubCommand extends AbstractQueryFoldersCommand {
/** Command name. */
private static final String LSUB = "LSUB";
/**
* Initializes a {@link LSubCommand}.
*
* @param ref the reference string
* @param pattern folder name with possible wildcards, see RFC3501 LSUB command for detail.
*/
public LSubCommand(@Nonnull final String ref, @Nonnull final String pattern) {
super(LSUB, ref, pattern);
}
@Override
public ImapRFCSupportedCommandType getCommandType() {
return ImapRFCSupportedCommandType.LSUB;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy