public class FTPGet extends java.lang.Object implements FTPCommand, Stoppable
Constructor and Description |
---|
FTPGet() |
Modifier and Type | Method and Description |
---|---|
boolean |
executeWith(org.apache.commons.net.ftp.FTPClient client)
Execute the command.
|
java.io.File |
getFile() |
java.io.OutputStream |
getOutput() |
java.lang.String |
getRemote() |
void |
setFile(java.io.File file) |
void |
setOutput(java.io.OutputStream output) |
void |
setRemote(java.lang.String as) |
void |
stop()
Stop executing.
|
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 void stop() throws FailedToStopException
Stoppable
stop
in interface Stoppable
FailedToStopException
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getRemote()
public void setRemote(java.lang.String as)
public java.io.File getFile()
public void setFile(java.io.File file)
public java.io.OutputStream getOutput()
public void setOutput(java.io.OutputStream output)