org.exoplatform.frameworks.ftpclient.commands
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
public abstract class FtpCommandImpl
- extends java.lang.Object
- implements FtpCommand
Created by The eXo Platform SAS .
- Version:
- $Id: FtpCommandImpl.java 35179 2009-08-07 13:58:20Z pnedonosko $
- Author:
- Vitaly Guly
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
clientSession
protected FtpClientSession clientSession
replyCode
protected int replyCode
descript
protected java.lang.String descript
FtpCommandImpl
public FtpCommandImpl()
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(java.lang.String command)
getReply
public int getReply()
throws java.lang.Exception
- Specified by:
getReply in interface FtpCommand
- Throws:
java.lang.Exception
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription in interface FtpCommand
readLine
public java.lang.String readLine()
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2010 eXo Platform SAS. All Rights Reserved.