Initialization
[xylftp.git] / client / gui / src / XylFTPInterface.java
blob35b4663c499e451e8bb3090f17e5311625221a2c
1 //////////////////////////////////////////////////////////////////////////
2 // Copyright (C) Wang Cong, Apr. 2007.
3 // See AUTHORS and CREDITS to learn more.
4 // This program is free software; you can redistribute it and/or modify
5 // it under the terms of the GNU General Public License version 2 as
6 // published by the Free Software Foundation.
7 // See COPYING to learn more.
8 //////////////////////////////////////////////////////////////////////////
10 /**
11 *This interface is for both CLI and GUI.
12 *@author WANG Cong
13 *@version 1.5
15 public interface XylFTPInterface{
17 /**
18 *Processes the echos from the server.
19 *@param Echo the echo from the server
21 public abstract int ProcessEcho(String Echo);
23 /**
24 *Gets FTP commands from the user.
25 *@exception XylFTPException on getting commands error
26 *@see XylFTPException
28 public abstract String[] GetCommands() throws Exception;