org.exoplatform.frameworks.ftpclient.commands
Class CmdRetr

java.lang.Object
  extended by org.exoplatform.frameworks.ftpclient.commands.FtpCommandImpl
      extended by org.exoplatform.frameworks.ftpclient.commands.CmdRetr
All Implemented Interfaces:
FtpCommand

public class CmdRetr
extends FtpCommandImpl

Created by The eXo Platform SAS .

Version:
$Id: CmdRetr.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
CmdRetr(java.lang.String path)
           
 
Method Summary
 int execute()
           
 byte[] getFileContent()
           
 
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

CmdRetr

public CmdRetr(java.lang.String path)
Method Detail

getFileContent

public byte[] getFileContent()

execute

public int execute()
Specified by:
execute in interface FtpCommand
Specified by:
execute in class FtpCommandImpl


Copyright © 2010 eXo Platform SAS. All Rights Reserved.