|
||||||||||
| 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 java.lang.StringcommandName
protected booleanisNeedLogin
java.lang.ThreadLocal<FtpClientSession>localClientSession
Constructor Summary
FtpCommandImpl()
Method Summary
FtpClientSessionclientSession()
booleanexecute(org.apache.commons.chain.Context context)
java.util.ArrayList<FtpFileInfo>getFileList(java.lang.String resPath)
voidremoveResource(java.lang.String resName)
voidreply(java.lang.String replyString)
abstract voidrun(java.lang.String[] params)
voidSendFileList(java.lang.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 java.lang.String commandName
localClientSession
public java.lang.ThreadLocal<FtpClientSession> localClientSession
Constructor Detail
FtpCommandImpl
public FtpCommandImpl()
Method Detail
reply
public void reply(java.lang.String replyString)
throws java.io.IOException
java.io.IOException
execute
public boolean execute(org.apache.commons.chain.Context context)
throws java.lang.Exception
execute in interface org.apache.commons.chain.Commandexecute in interface FtpCommand
java.lang.Exception
run
public abstract void run(java.lang.String[] params)
throws java.lang.Exception
run in interface FtpCommand
java.lang.Exception
clientSession
public FtpClientSession clientSession()
clientSession in interface FtpCommand
getFileList
public java.util.ArrayList<FtpFileInfo> getFileList(java.lang.String resPath)
removeResource
public void removeResource(java.lang.String resName)
throws java.io.IOException
java.io.IOException
SendFileList
public void SendFileList(java.lang.String[] params)
throws java.io.IOException
java.io.IOException
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD
Copyright © 2011 eXo Platform SAS. All Rights Reserved.