org.apache.tools.ant.taskdefs.optional.net
protected static class FTP.FTPFileProxy extends File
| Constructor Summary | |
|---|---|
| FTPFileProxy(FTPFile file)
creates a proxy to a FTP file | |
| FTPFileProxy(String completePath)
creates a proxy to a FTP directory | |
| Method Summary | |
|---|---|
| boolean | exists() |
| String | getAbsolutePath() |
| String | getName() |
| String | getParent() |
| String | getPath() |
| boolean | isAbsolute()
FTP files are stored as absolute paths |
| boolean | isDirectory() |
| boolean | isFile() |
| boolean | isHidden()
FTP files cannot be hidden
|
| long | lastModified() |
| long | length() |
Parameters: file
Parameters: completePath the remote directory.
Returns: true
Returns: false