KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > coldcore > coloradoftp > command > impl > ftp > AlloCommand


1 /**
2  * Command ALLO.
3  * See FTP spec for details on the command.
4  *
5  * This implementation does nothing from the spec.
6  */

7 package com.coldcore.coloradoftp.command.impl.ftp;
8
9 import com.coldcore.coloradoftp.command.Reply;
10 import com.coldcore.coloradoftp.command.impl.AbstractCommand;
11 import com.coldcore.coloradoftp.factory.ObjectFactory;
12 import com.coldcore.coloradoftp.factory.ObjectName;
13
14 public class AlloCommand extends AbstractCommand {
15
16   public Reply execute() {
17     Reply reply = getReply();
18     reply.setCode("202");
19     reply.setText("Command not implemented, superfluous at this site.");
20     return reply;
21   }
22 }
23
Popular Tags