public class FTPRename extends java.lang.Object implements FTPCommand
Constructor and Description |
---|
FTPRename() |
Modifier and Type | Method and Description |
---|---|
boolean |
executeWith(org.apache.commons.net.ftp.FTPClient client)
Execute the command.
|
java.lang.String |
getFrom() |
java.lang.String |
getTo() |
void |
setFrom(java.lang.String path) |
void |
setTo(java.lang.String to) |
java.lang.String |
toString() |
public boolean executeWith(org.apache.commons.net.ftp.FTPClient client) throws java.io.IOException
FTPCommand
executeWith
in interface FTPCommand
client
- The client session.java.io.IOException
public java.lang.String getFrom()
public void setFrom(java.lang.String path)
public java.lang.String getTo()
public void setTo(java.lang.String to)
public java.lang.String toString()
toString
in class java.lang.Object