public class FtpFileSystem extends Object implements org.jboss.vfs.spi.FileSystem
| Constructor and Description |
|---|
FtpFileSystem(org.apache.commons.net.ftp.FTPClient ftpClient) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
delete(org.jboss.vfs.VirtualFile mountPoint,
org.jboss.vfs.VirtualFile target) |
boolean |
exists(org.jboss.vfs.VirtualFile mountPoint,
org.jboss.vfs.VirtualFile target) |
CodeSigner[] |
getCodeSigners(org.jboss.vfs.VirtualFile mountPoint,
org.jboss.vfs.VirtualFile target) |
List<String> |
getDirectoryEntries(org.jboss.vfs.VirtualFile mountPoint,
org.jboss.vfs.VirtualFile target) |
File |
getFile(org.jboss.vfs.VirtualFile mountPoint,
org.jboss.vfs.VirtualFile target) |
long |
getLastModified(org.jboss.vfs.VirtualFile mountPoint,
org.jboss.vfs.VirtualFile target) |
File |
getMountSource() |
URI |
getRootURI() |
long |
getSize(org.jboss.vfs.VirtualFile mountPoint,
org.jboss.vfs.VirtualFile target) |
boolean |
isDirectory(org.jboss.vfs.VirtualFile mountPoint,
org.jboss.vfs.VirtualFile target) |
boolean |
isFile(org.jboss.vfs.VirtualFile mountPoint,
org.jboss.vfs.VirtualFile target) |
boolean |
isReadOnly() |
InputStream |
openInputStream(org.jboss.vfs.VirtualFile mountPoint,
org.jboss.vfs.VirtualFile target) |
public FtpFileSystem(org.apache.commons.net.ftp.FTPClient ftpClient)
public File getFile(org.jboss.vfs.VirtualFile mountPoint, org.jboss.vfs.VirtualFile target) throws IOException
getFile in interface org.jboss.vfs.spi.FileSystemIOExceptionpublic InputStream openInputStream(org.jboss.vfs.VirtualFile mountPoint, org.jboss.vfs.VirtualFile target) throws IOException
openInputStream in interface org.jboss.vfs.spi.FileSystemIOExceptionpublic boolean isReadOnly()
isReadOnly in interface org.jboss.vfs.spi.FileSystempublic boolean delete(org.jboss.vfs.VirtualFile mountPoint,
org.jboss.vfs.VirtualFile target)
delete in interface org.jboss.vfs.spi.FileSystempublic long getSize(org.jboss.vfs.VirtualFile mountPoint,
org.jboss.vfs.VirtualFile target)
getSize in interface org.jboss.vfs.spi.FileSystempublic long getLastModified(org.jboss.vfs.VirtualFile mountPoint,
org.jboss.vfs.VirtualFile target)
getLastModified in interface org.jboss.vfs.spi.FileSystempublic boolean exists(org.jboss.vfs.VirtualFile mountPoint,
org.jboss.vfs.VirtualFile target)
exists in interface org.jboss.vfs.spi.FileSystempublic boolean isFile(org.jboss.vfs.VirtualFile mountPoint,
org.jboss.vfs.VirtualFile target)
isFile in interface org.jboss.vfs.spi.FileSystempublic boolean isDirectory(org.jboss.vfs.VirtualFile mountPoint,
org.jboss.vfs.VirtualFile target)
isDirectory in interface org.jboss.vfs.spi.FileSystempublic List<String> getDirectoryEntries(org.jboss.vfs.VirtualFile mountPoint, org.jboss.vfs.VirtualFile target)
getDirectoryEntries in interface org.jboss.vfs.spi.FileSystempublic CodeSigner[] getCodeSigners(org.jboss.vfs.VirtualFile mountPoint, org.jboss.vfs.VirtualFile target)
getCodeSigners in interface org.jboss.vfs.spi.FileSystempublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in interface org.jboss.vfs.spi.FileSystemIOExceptionpublic File getMountSource()
getMountSource in interface org.jboss.vfs.spi.FileSystempublic URI getRootURI() throws URISyntaxException
getRootURI in interface org.jboss.vfs.spi.FileSystemURISyntaxExceptionCopyright © 2019. All rights reserved.