org.oddjob.net.ftp
Class FTPDelete

java.lang.Object
  extended by org.oddjob.net.ftp.FTPDelete
All Implemented Interfaces:
FTPCommand

public class FTPDelete
extends Object
implements FTPCommand

Description

FTP command to delete a remote file.
Author:
rob

Constructor Summary
FTPDelete()
           
 
Method Summary
 boolean executeWith(FTPClient client)
          Execute the command.
 String getPath()
           
 void setPath(String path)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FTPDelete

public FTPDelete()
Method Detail

executeWith

public boolean executeWith(FTPClient client)
                    throws IOException
Description copied from interface: FTPCommand
Execute the command.

Specified by:
executeWith in interface FTPCommand
Parameters:
client - The client session.
Returns:
true if OK, false otherwise.
Throws:
IOException

getPath

public String getPath()

setPath

public void setPath(String path)

toString

public String toString()
Overrides:
toString in class Object