org.apache.tools.ant.taskdefs.optional.net

Class FTPTaskMirrorImpl.FTPDirectoryScanner.AntFTPRootFile

protected class FTPTaskMirrorImpl.FTPDirectoryScanner.AntFTPRootFile extends FTPTaskMirrorImpl.FTPDirectoryScanner.AntFTPFile

special class to represent the remote directory itself

Since: Ant 1.6

Constructor Summary
AntFTPRootFile(FTPClient aclient, String remotedir)
constructor
Method Summary
StringgetAbsolutePath()
find the absolute path
StringgetRelativePath()
find out the relative path to root

Constructor Detail

AntFTPRootFile

public AntFTPRootFile(FTPClient aclient, String remotedir)
constructor

Parameters: aclient FTP client remotedir remote directory

Method Detail

getAbsolutePath

public String getAbsolutePath()
find the absolute path

Returns: absolute path

getRelativePath

public String getRelativePath()
find out the relative path to root

Returns: empty string

Throws: BuildException actually never IOException actually never