public class FTPList extends java.lang.Object implements FTPCommand
Constructor and Description |
---|
FTPList() |
Modifier and Type | Method and Description |
---|---|
boolean |
executeWith(org.apache.commons.net.ftp.FTPClient client)
Execute the command.
|
org.apache.commons.net.ftp.FTPFile[] |
getFiles() |
java.lang.String |
getPath() |
void |
setPath(java.lang.String path) |
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 getPath()
public void setPath(java.lang.String path)
public org.apache.commons.net.ftp.FTPFile[] getFiles()
public java.lang.String toString()
toString
in class java.lang.Object