org.exoplatform.frameworks.ftpclient.commands
Class CmdSize

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

public class CmdSize
extends FtpCommandImpl

Created by The eXo Platform SAS .

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

Field Summary
static org.apache.commons.logging.Log log
           
protected  java.lang.String path
           
protected  int size
           
 
Fields inherited from class org.exoplatform.frameworks.ftpclient.commands.FtpCommandImpl
clientSession, descript, replyCode
 
Constructor Summary
CmdSize(java.lang.String path)
           
 
Method Summary
 int execute()
           
 int getSize()
           
 
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

log

public static org.apache.commons.logging.Log log

path

protected java.lang.String path

size

protected int size
Constructor Detail

CmdSize

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

getSize

public int getSize()

execute

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


Copyright © 2010 eXo Platform SAS. All Rights Reserved.