Interface FtpClient
-
public interface FtpClientWhat VFS expects from an ftp client to provide.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanabort()java.io.OutputStreamappendFileStream(java.lang.String relPath)booleancompletePendingCommand()booleandeleteFile(java.lang.String relPath)voiddisconnect()java.lang.StringgetReplyString()booleanisConnected()org.apache.commons.net.ftp.FTPFile[]listFiles(java.lang.String relPath)booleanmakeDirectory(java.lang.String relPath)booleanremoveDirectory(java.lang.String relPath)booleanrename(java.lang.String oldName, java.lang.String newName)java.io.InputStreamretrieveFileStream(java.lang.String relPath)java.io.InputStreamretrieveFileStream(java.lang.String relPath, long restartOffset)java.io.OutputStreamstoreFileStream(java.lang.String relPath)
-
-
-
Method Detail
-
isConnected
boolean isConnected() throws FileSystemException- Throws:
FileSystemException
-
disconnect
void disconnect() throws java.io.IOException- Throws:
java.io.IOException
-
listFiles
org.apache.commons.net.ftp.FTPFile[] listFiles(java.lang.String relPath) throws java.io.IOException- Throws:
java.io.IOException
-
removeDirectory
boolean removeDirectory(java.lang.String relPath) throws java.io.IOException- Throws:
java.io.IOException
-
deleteFile
boolean deleteFile(java.lang.String relPath) throws java.io.IOException- Throws:
java.io.IOException
-
rename
boolean rename(java.lang.String oldName, java.lang.String newName) throws java.io.IOException- Throws:
java.io.IOException
-
makeDirectory
boolean makeDirectory(java.lang.String relPath) throws java.io.IOException- Throws:
java.io.IOException
-
completePendingCommand
boolean completePendingCommand() throws java.io.IOException- Throws:
java.io.IOException
-
retrieveFileStream
java.io.InputStream retrieveFileStream(java.lang.String relPath) throws java.io.IOException- Throws:
java.io.IOException
-
retrieveFileStream
java.io.InputStream retrieveFileStream(java.lang.String relPath, long restartOffset) throws java.io.IOException- Throws:
java.io.IOException
-
appendFileStream
java.io.OutputStream appendFileStream(java.lang.String relPath) throws java.io.IOException- Throws:
java.io.IOException
-
storeFileStream
java.io.OutputStream storeFileStream(java.lang.String relPath) throws java.io.IOException- Throws:
java.io.IOException
-
abort
boolean abort() throws java.io.IOException- Throws:
java.io.IOException
-
getReplyString
java.lang.String getReplyString() throws java.io.IOException- Throws:
java.io.IOException
-
-