Class FtpCommandImpl
java.lang.Object
org.exoplatform.frameworks.ftpclient.commands.FtpCommandImpl
- All Implemented Interfaces:
FtpCommand
- Direct Known Subclasses:
CmdCdUp,CmdCwd,CmdDele,CmdHelp,CmdList,CmdMkd,CmdMode,CmdNlst,CmdNoop,CmdPass,CmdPasv,CmdPort,CmdPwd,CmdQuit,CmdRest,CmdRetr,CmdRmd,CmdRnFr,CmdRnTo,CmdSize,CmdStat,CmdStor,CmdStru,CmdSyst,CmdType,CmdUser
Created by The eXo Platform SAS .
- Version:
- $Id: $
- Author:
- Vitaly Guly
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract intexecute()intgetReply()readLine()intrun(FtpClientSession clientSession) voidsendCommand(String command)
-
Field Details
-
clientSession
-
replyCode
protected int replyCode -
descript
-
-
Constructor Details
-
FtpCommandImpl
public FtpCommandImpl()
-
-
Method Details
-
run
- Specified by:
runin interfaceFtpCommand
-
execute
public abstract int execute()- Specified by:
executein interfaceFtpCommand
-
sendCommand
-
getReply
- Specified by:
getReplyin interfaceFtpCommand- Throws:
Exception
-
getDescription
- Specified by:
getDescriptionin interfaceFtpCommand
-
readLine
- Throws:
Exception
-