public abstract class FtpCommandImpl extends Object implements FtpCommand
| Modifier and Type | Field and Description |
|---|---|
protected FtpClientSession |
clientSession |
protected String |
descript |
protected int |
replyCode |
| Constructor and Description |
|---|
FtpCommandImpl() |
| Modifier and Type | Method and Description |
|---|---|
abstract int |
execute() |
String |
getDescription() |
int |
getReply() |
String |
readLine() |
int |
run(FtpClientSession clientSession) |
void |
sendCommand(String command) |
protected FtpClientSession clientSession
protected int replyCode
protected String descript
public int run(FtpClientSession clientSession)
run in interface FtpCommandpublic abstract int execute()
execute in interface FtpCommandpublic void sendCommand(String command)
public int getReply()
throws Exception
getReply in interface FtpCommandExceptionpublic String getDescription()
getDescription in interface FtpCommandCopyright © 2003–2021 eXo Platform SAS. All rights reserved.