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

org.exoplatform.frameworks.ftpclient.commands
Class CmdStor

java.lang.Object
  extended by org.exoplatform.frameworks.ftpclient.commands.FtpCommandImpl
      extended by 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
protected  byte[] fileContent
           
protected  String path
           
 
Fields inherited from class org.exoplatform.frameworks.ftpclient.commands.FtpCommandImpl
clientSession, descript, replyCode
 
Constructor Summary
CmdStor(String path)
           
 
Method Summary
 int execute()
           
 void setFileContent(byte[] fileContent)
           
 
Methods inherited from class org.exoplatform.frameworks.ftpclient.commands.FtpCommandImpl
getDescription, getReply, readLine, run, sendCommand
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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:
execute in interface FtpCommand
Specified by:
execute in class FtpCommandImpl

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

Copyright © 2015 eXo Platform SAS. All Rights Reserved.