|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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
special class to represent the remote directory itself
Constructor Summary | |
---|---|
FTP.FTPDirectoryScanner.AntFTPRootFile(org.apache.commons.net.ftp.FTPClient aclient,
java.lang.String remotedir)
constructor |
Method Summary | |
---|---|
java.lang.String |
getAbsolutePath()
find the absolute path |
java.lang.String |
getRelativePath()
find out the relative path to root |
Methods inherited from class org.apache.tools.ant.taskdefs.optional.net.FTP.FTPDirectoryScanner.AntFTPFile |
---|
exists, getClient, getCurpwd, getCurpwdPlusFileSep, getFastRelativePath, getFile, getLink, getName, isDirectory, isSymbolicLink, isTraverseSymlinks, setCurpwd, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FTP.FTPDirectoryScanner.AntFTPRootFile(org.apache.commons.net.ftp.FTPClient aclient, java.lang.String remotedir)
aclient
- FTP clientremotedir
- remote directoryMethod Detail |
---|
public java.lang.String getAbsolutePath()
getAbsolutePath
in class FTP.FTPDirectoryScanner.AntFTPFile
public java.lang.String getRelativePath() throws BuildException, java.io.IOException
getRelativePath
in class FTP.FTPDirectoryScanner.AntFTPFile
BuildException
- actually never
java.io.IOException
- actually never
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |