1 /*
2 * Copyright (c) 2004-2007 Creative Sphere Limited.
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/epl-v10.html
7 *
8 * Contributors:
9 *
10 * Creative Sphere - initial API and implementation
11 *
12 */
13 package org.abstracthorizon.mercury.imap.cmd;
14
15 import java.io.IOException;
16
17 import javax.mail.MessagingException;
18
19 import org.abstracthorizon.mercury.common.command.CommandException;
20
21 import org.abstracthorizon.mercury.imap.IMAPSession;
22 import org.abstracthorizon.mercury.imap.util.ParserException;
23
24 /**
25 * Partial IMAP command
26 *
27 * @author Daniel Sendula
28 */
29 public class Partial extends IMAPCommand {
30
31 /**
32 * Constructor
33 * @param mnemonic mnemonic
34 */
35 public Partial(String mnemonic) {
36 super(mnemonic);
37 }
38
39 /**
40 * Executes the command
41 * @param session
42 * @throws ParserException
43 * @throws MessagingException
44 * @throws CommandException
45 * @throws IOException
46 */
47 protected void execute(IMAPSession session) throws MessagingException, ParserException, CommandException, IOException {
48 super.execute(session);
49 }
50 }