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: CmdStor.java 35179 2009-08-07 13:58:20Z pnedonosko $
Author:
Vitaly Guly

Field Summary
protected  byte[] fileContent
           
protected  java.lang.String path
           
 
Fields inherited from class org.exoplatform.frameworks.ftpclient.commands.FtpCommandImpl
clientSession, descript, replyCode
 
Constructor Summary
CmdStor(java.lang.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 java.lang.String path

fileContent

protected byte[] fileContent
Constructor Detail

CmdStor

public CmdStor(java.lang.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


Copyright © 2010 eXo Platform SAS. All Rights Reserved.