Support incomplete input
[xylftp.git] / client / src / XylFTPInterface.java
blobfcf69d3f2c711dd73475f1fca84c5650a6ff4fee
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;