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

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

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