Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.apache.tools.ant.taskdefs.optional.net.FTP.FTPDirectoryScanner.AntFTPFile
org.apache.tools.ant.taskdefs.optional.net.FTP.FTPDirectoryScanner.AntFTPRootFile
protected class FTP.FTPDirectoryScanner.AntFTPRootFile
Constructor 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, IOException
find out the relative path to root
- Overrides:
- getRelativePath in interface FTP.FTPDirectoryScanner.AntFTPFile
- Returns:
- empty string
- Throws:
BuildException
- actually never