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

org.apache.james.imap.decode.parser.MoveCommandParser Maven / Gradle / Ivy

There is a newer version: 3.8.1
Show newest version
package org.apache.james.imap.decode.parser;

import org.apache.james.imap.api.ImapCommand;
import org.apache.james.imap.api.ImapConstants;
import org.apache.james.imap.api.message.IdRange;
import org.apache.james.imap.message.request.MoveRequest;

/**
 * Parse MOVE commands
 */
public class MoveCommandParser extends CopyCommandParser {
	
	public MoveCommandParser() {
		super(ImapCommand.selectedStateCommand(ImapConstants.MOVE_COMMAND_NAME));
	}
	
	protected MoveRequest createRequest(ImapCommand command, String tag,
			boolean useUids, IdRange[] idSet, String mailboxName) {
		return new MoveRequest(command, idSet, mailboxName, useUids, tag);
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy