com.myJava.file.driver.remote.ftp
Class FTPFileSystemDriver
java.lang.Object
com.myJava.file.driver.AbstractFileSystemDriver
com.myJava.file.driver.remote.AbstractRemoteFileSystemDriver
com.myJava.file.driver.remote.ftp.FTPFileSystemDriver
- All Implemented Interfaces:
- FileSystemDriver
public class FTPFileSystemDriver
- extends AbstractRemoteFileSystemDriver
File System driver which is connected to a FTP Server.
The Following methods are not supported :
- public boolean canRead(File file) --> Not supported
- public boolean canWrite(File file) --> Not supported
- public long lastModified(File file); --> Not supported
- public boolean setLastModified(File file, long time); --> Not supported
- public boolean setReadOnly(File file); --> Not supported
- public boolean mkdirs(File file); --> Not supported
- public boolean isHidden(File file); --> Not supported
- public Permission getPermissions(File file); --> Not supported
- public void applyPermissions(Permissions p, File f); --> Not supported
- Author:
- Olivier PETRUCCI
Areca Build ID : 7299034069467778562
Methods inherited from class com.myJava.file.driver.remote.AbstractRemoteFileSystemDriver |
buildNewOwnerId, canRead, canWrite, createNewFile, delete, directFileAccessSupported, disconnect, exists, flush, getAbsoluteFile, getAbsolutePath, getAccessEfficiency, getAvailableProxy, getCachedFileInputStream, getCachedFileOutputStream, getCanonicalFile, getCanonicalPath, getFictiveLocalFile, getFileInputStream, getFileOutputStream, getFileOutputStream, getFileOutputStream, getInformations, getName, getNormalizedLocalRoot, getParent, getParentFile, getPath, initFictiveLocalFile, isAbsolute, isContentSensitive, isDirectory, isFile, lastModified, length, list, list, listFiles, listFiles, listFiles, mkdir, mount, releaseProxy, removeLocalInputFile, renameTo, supportsLongFileNames, unmount |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
remoteRootDirectory
protected java.lang.String remoteRootDirectory
FTPFileSystemDriver
public FTPFileSystemDriver(FTPProxy ftpProxy,
java.io.File localRoot,
java.lang.String remoteRoot)
translateToRemote
protected java.lang.String translateToRemote(java.io.File localFile)
- Specified by:
translateToRemote
in class AbstractRemoteFileSystemDriver
translateToLocal
protected java.lang.String translateToLocal(java.lang.String remoteFile)
- Specified by:
translateToLocal
in class AbstractRemoteFileSystemDriver
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object