|
eXo JCR :: Component :: FTP Service 1.15.1-CP01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.services.ftp.command.FtpCommandImpl
public abstract class FtpCommandImpl
Created by The eXo Platform SAS Author : Vitaly Guly
Field Summary
protected StringcommandName
protected booleanisNeedLogin
ThreadLocal<FtpClientSession>localClientSession
Fields inherited from interface org.apache.commons.chain.Command
CONTINUE_PROCESSING, PROCESSING_COMPLETE
Constructor Summary
FtpCommandImpl()
Method Summary
FtpClientSessionclientSession()
booleanexecute(org.apache.commons.chain.Context context)
ArrayList<FtpFileInfo>getFileList(String resPath)
voidremoveResource(String resName)
voidreply(String replyString)
abstract voidrun(String[] params)
voidSendFileList(String[] params)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Field Detail
isNeedLogin
protected boolean isNeedLogin
commandName
protected String commandName
localClientSession
public ThreadLocal<FtpClientSession> localClientSession
Constructor Detail
FtpCommandImpl
public FtpCommandImpl()
Method Detail
reply
public void reply(String replyString)
throws IOException
IOException
execute
public boolean execute(org.apache.commons.chain.Context context)
throws Exception
execute in interface org.apache.commons.chain.Commandexecute in interface FtpCommand
Exception
run
public abstract void run(String[] params)
throws Exception
run in interface FtpCommand
Exception
clientSession
public FtpClientSession clientSession()
clientSession in interface FtpCommand
getFileList
public ArrayList<FtpFileInfo> getFileList(String resPath)
removeResource
public void removeResource(String resName)
throws IOException
IOException
SendFileList
public void SendFileList(String[] params)
throws IOException
IOException
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
eXo JCR :: Component :: FTP Service 1.15.1-CP01
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD
Copyright © 2013 eXo Platform SAS. All Rights Reserved.