Class FTPTaskMirrorImpl.FTPDirectoryScanner.AntFTPRootFile
java.lang.Object
org.apache.tools.ant.taskdefs.optional.net.FTPTaskMirrorImpl.FTPDirectoryScanner.AntFTPFile
org.apache.tools.ant.taskdefs.optional.net.FTPTaskMirrorImpl.FTPDirectoryScanner.AntFTPRootFile
- Enclosing class:
- FTPTaskMirrorImpl.FTPDirectoryScanner
protected class FTPTaskMirrorImpl.FTPDirectoryScanner.AntFTPRootFile
extends FTPTaskMirrorImpl.FTPDirectoryScanner.AntFTPFile
special class to represent the remote directory itself
- Since:
- Ant 1.6
- 
Constructor SummaryConstructorsConstructorDescriptionAntFTPRootFile(org.apache.commons.net.ftp.FTPClient aclient, String remotedir) constructor
- 
Method SummaryModifier and TypeMethodDescriptionfind the absolute pathfind out the relative path to rootMethods inherited from class org.apache.tools.ant.taskdefs.optional.net.FTPTaskMirrorImpl.FTPDirectoryScanner.AntFTPFileexists, getClient, getCurpwd, getCurpwdPlusFileSep, getFastRelativePath, getFile, getLink, getName, isDirectory, isSymbolicLink, isTraverseSymlinks, setCurpwd, toString
- 
Constructor Details- 
AntFTPRootFileconstructor- Parameters:
- aclient- FTP client
- remotedir- remote directory
 
 
- 
- 
Method Details- 
getAbsolutePathfind the absolute path- Overrides:
- getAbsolutePathin class- FTPTaskMirrorImpl.FTPDirectoryScanner.AntFTPFile
- Returns:
- absolute path
 
- 
getRelativePathfind out the relative path to root- Overrides:
- getRelativePathin class- FTPTaskMirrorImpl.FTPDirectoryScanner.AntFTPFile
- Returns:
- empty string
- Throws:
- BuildException- actually never
- IOException- actually never
 
 
-