protected class FTP.FTPDirectoryScanner.AntFTPRootFile extends FTP.FTPDirectoryScanner.AntFTPFile
| Constructor | Description |
|---|---|
AntFTPRootFile(org.apache.commons.net.ftp.FTPClient aclient,
java.lang.String remotedir) |
constructor
|
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getAbsolutePath() |
find the absolute path
|
java.lang.String |
getRelativePath() |
find out the relative path to root
|
exists, getClient, getCurpwd, getCurpwdPlusFileSep, getFastRelativePath, getFile, getLink, getName, isDirectory, isSymbolicLink, isTraverseSymlinks, setCurpwd, toStringpublic AntFTPRootFile(org.apache.commons.net.ftp.FTPClient aclient,
java.lang.String remotedir)
aclient - FTP clientremotedir - remote directorypublic java.lang.String getAbsolutePath()
getAbsolutePath in class FTP.FTPDirectoryScanner.AntFTPFilepublic java.lang.String getRelativePath()
throws BuildException,
java.io.IOException
getRelativePath in class FTP.FTPDirectoryScanner.AntFTPFileBuildException - actually neverjava.io.IOException - actually never