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 SummaryConstructors Constructor Description AntFTPRootFile(org.apache.commons.net.ftp.FTPClient aclient, java.lang.String remotedir)constructor
 - 
Method SummaryModifier and Type Method Description java.lang.StringgetAbsolutePath()find the absolute pathjava.lang.StringgetRelativePath()find out the relative path to root- 
Methods 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
 
- 
 
- 
- 
- 
Method Detail- 
getAbsolutePathpublic java.lang.String getAbsolutePath() find the absolute path- Overrides:
- getAbsolutePathin class- FTPTaskMirrorImpl.FTPDirectoryScanner.AntFTPFile
- Returns:
- absolute path
 
 - 
getRelativePathpublic java.lang.String getRelativePath() throws BuildException, java.io.IOExceptionfind out the relative path to root- Overrides:
- getRelativePathin class- FTPTaskMirrorImpl.FTPDirectoryScanner.AntFTPFile
- Returns:
- empty string
- Throws:
- BuildException- actually never
- java.io.IOException- actually never
 
 
- 
 
-