protected class FTPTaskMirrorImpl.FTPDirectoryScanner.AntFTPRootFile extends FTPTaskMirrorImpl.FTPDirectoryScanner.AntFTPFile
Constructor and Description |
---|
AntFTPRootFile(org.apache.commons.net.ftp.FTPClient aclient,
java.lang.String remotedir)
constructor
|
Modifier and Type | Method and 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, toString
public AntFTPRootFile(org.apache.commons.net.ftp.FTPClient aclient, java.lang.String remotedir)
aclient
- FTP clientremotedir
- remote directorypublic java.lang.String getAbsolutePath()
getAbsolutePath
in class FTPTaskMirrorImpl.FTPDirectoryScanner.AntFTPFile
public java.lang.String getRelativePath() throws BuildException, java.io.IOException
getRelativePath
in class FTPTaskMirrorImpl.FTPDirectoryScanner.AntFTPFile
BuildException
- actually neverjava.io.IOException
- actually never