| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectorg.apache.tools.ant.taskdefs.optional.net.FTP.FTPDirectoryScanner.AntFTPFileorg.apache.tools.ant.taskdefs.optional.net.FTP.FTPDirectoryScanner.AntFTPRootFileprotected class FTP.FTPDirectoryScanner.AntFTPRootFileConstructor Summary | |
| |
Method Summary | |
String |
|
String |
|
Methods inherited from class org.apache.tools.ant.taskdefs.optional.net.FTP.FTPDirectoryScanner.AntFTPFile | |
exists, getAbsolutePath, getClient, getCurpwd, getFastRelativePath, getFile, getLink, getName, getRelativePath, isDirectory, isSymbolicLink, isTraverseSymlinks, setCurpwd | |
public AntFTPRootFile(FTPClient aclient,
String remotedir)constructor
- Parameters:
aclient- FTP clientremotedir- remote directory
public String getAbsolutePath()
find the absolute path
- Overrides:
- getAbsolutePath in interface FTP.FTPDirectoryScanner.AntFTPFile
- Returns:
- absolute path
public String getRelativePath()
throws BuildException,
IOExceptionfind out the relative path to root
- Overrides:
- getRelativePath in interface FTP.FTPDirectoryScanner.AntFTPFile
- Returns:
- empty string
- Throws:
BuildException- actually never