Class FTPTaskMirrorImpl.FTPFileProxy
- java.lang.Object
- 
- java.io.File
- 
- org.apache.tools.ant.taskdefs.optional.net.FTPTaskMirrorImpl.FTPFileProxy
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- java.lang.Comparable<java.io.File>
 - Enclosing class:
- FTPTaskMirrorImpl
 
 protected static class FTPTaskMirrorImpl.FTPFileProxy extends java.io.Fileinternal class providing a File-like interface to some of the information available from the FTP server- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description FTPFileProxy(java.lang.String completePath)creates a proxy to a FTP directoryFTPFileProxy(org.apache.commons.net.ftp.FTPFile file)creates a proxy to a FTP file
 - 
Method SummaryModifier and Type Method Description booleanexists()java.lang.StringgetAbsolutePath()java.lang.StringgetName()java.lang.StringgetParent()java.lang.StringgetPath()booleanisAbsolute()FTP files are stored as absolute pathsbooleanisDirectory()booleanisFile()booleanisHidden()FTP files cannot be hiddenlonglastModified()longlength()- 
Methods inherited from class java.io.FilecanExecute, canRead, canWrite, compareTo, createNewFile, createTempFile, createTempFile, delete, deleteOnExit, equals, getAbsoluteFile, getCanonicalFile, getCanonicalPath, getFreeSpace, getParentFile, getTotalSpace, getUsableSpace, hashCode, list, list, listFiles, listFiles, listFiles, listRoots, mkdir, mkdirs, renameTo, setExecutable, setExecutable, setLastModified, setReadable, setReadable, setReadOnly, setWritable, setWritable, toPath, toString, toURI, toURL
 
- 
 
- 
- 
- 
Method Detail- 
existspublic boolean exists() - Overrides:
- existsin class- java.io.File
 
 - 
getAbsolutePathpublic java.lang.String getAbsolutePath() - Overrides:
- getAbsolutePathin class- java.io.File
 
 - 
getNamepublic java.lang.String getName() - Overrides:
- getNamein class- java.io.File
 
 - 
getParentpublic java.lang.String getParent() - Overrides:
- getParentin class- java.io.File
 
 - 
getPathpublic java.lang.String getPath() - Overrides:
- getPathin class- java.io.File
 
 - 
isAbsolutepublic boolean isAbsolute() FTP files are stored as absolute paths- Overrides:
- isAbsolutein class- java.io.File
- Returns:
- true
 
 - 
isDirectorypublic boolean isDirectory() - Overrides:
- isDirectoryin class- java.io.File
 
 - 
isFilepublic boolean isFile() - Overrides:
- isFilein class- java.io.File
 
 - 
isHiddenpublic boolean isHidden() FTP files cannot be hidden- Overrides:
- isHiddenin class- java.io.File
- Returns:
- false
 
 - 
lastModifiedpublic long lastModified() - Overrides:
- lastModifiedin class- java.io.File
 
 - 
lengthpublic long length() - Overrides:
- lengthin class- java.io.File
 
 
- 
 
-