org.exoplatform.frameworks.ftpclient.commands
Class CmdList

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

public class CmdList
extends FtpCommandImpl

Created by The eXo Platform SAS .

Version:
$Id: CmdList.java 35179 2009-08-07 13:58:20Z pnedonosko $
Author:
Vitaly Guly

Field Summary
protected  byte[] fileData
           
protected  java.util.ArrayList<FtpFileInfo> files
           
protected  java.lang.String path
           
 
Fields inherited from class org.exoplatform.frameworks.ftpclient.commands.FtpCommandImpl
clientSession, descript, replyCode
 
Constructor Summary
CmdList()
           
CmdList(java.lang.String path)
           
 
Method Summary
 int execute()
           
 byte[] getFileData()
           
 java.util.ArrayList<FtpFileInfo> getFiles()
           
 
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

fileData

protected byte[] fileData

files

protected java.util.ArrayList<FtpFileInfo> files
Constructor Detail

CmdList

public CmdList()

CmdList

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

getFileData

public byte[] getFileData()

getFiles

public java.util.ArrayList<FtpFileInfo> getFiles()

execute

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


Copyright © 2010 eXo Platform SAS. All Rights Reserved.