eXo JCR :: Framework :: FTP Client 1.15.14-CP01

org.exoplatform.frameworks.ftpclient.commands
Class FtpCommandImpl

java.lang.Object
  extended by 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

public abstract class FtpCommandImpl
extends Object
implements FtpCommand

Created by The eXo Platform SAS .

Version:
$Id: $
Author:
Vitaly Guly

Field Summary
protected  FtpClientSession clientSession
           
protected  String descript
           
protected  int replyCode
           
 
Constructor Summary
FtpCommandImpl()
           
 
Method Summary
abstract  int execute()
           
 String getDescription()
           
 int getReply()
           
 String readLine()
           
 int run(FtpClientSession clientSession)
           
 void sendCommand(String command)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

clientSession

protected FtpClientSession clientSession

replyCode

protected int replyCode

descript

protected String descript
Constructor Detail

FtpCommandImpl

public FtpCommandImpl()
Method Detail

run

public int run(FtpClientSession clientSession)
Specified by:
run in interface FtpCommand

execute

public abstract int execute()
Specified by:
execute in interface FtpCommand

sendCommand

public void sendCommand(String command)

getReply

public int getReply()
             throws Exception
Specified by:
getReply in interface FtpCommand
Throws:
Exception

getDescription

public String getDescription()
Specified by:
getDescription in interface FtpCommand

readLine

public String readLine()
                throws Exception
Throws:
Exception

eXo JCR :: Framework :: FTP Client 1.15.14-CP01

Copyright © 2015 eXo Platform SAS. All Rights Reserved.