Class CmdStor
- java.lang.Object
-
- org.exoplatform.frameworks.ftpclient.commands.FtpCommandImpl
-
- org.exoplatform.frameworks.ftpclient.commands.CmdStor
-
- All Implemented Interfaces:
FtpCommand
public class CmdStor extends FtpCommandImpl
Created by The eXo Platform SAS .- Version:
- $Id: $
- Author:
- Vitaly Guly
-
-
Field Summary
Fields Modifier and Type Field Description protected byte[]fileContentprotected Stringpath-
Fields inherited from class org.exoplatform.frameworks.ftpclient.commands.FtpCommandImpl
clientSession, descript, replyCode
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intexecute()voidsetFileContent(byte[] fileContent)-
Methods inherited from class org.exoplatform.frameworks.ftpclient.commands.FtpCommandImpl
getDescription, getReply, readLine, run, sendCommand
-
-
-
-
Field Detail
-
path
protected String path
-
fileContent
protected byte[] fileContent
-
-
Constructor Detail
-
CmdStor
public CmdStor(String path)
-
-
Method Detail
-
setFileContent
public void setFileContent(byte[] fileContent)
-
execute
public int execute()
- Specified by:
executein interfaceFtpCommand- Specified by:
executein classFtpCommandImpl
-
-