public interface NXSocketClient
| Modifier and Type | Method and Description |
|---|---|
void |
cdUp() |
void |
changeFolder(java.lang.String dir) |
void |
connect() |
void |
createDirectory(java.lang.String dir) |
void |
delete(java.lang.String file) |
void |
deleteDirectory(java.lang.String dir) |
void |
disconnect() |
void |
fakeDirectory(NXObjectIndex oi,
java.lang.String path) |
byte[] |
get(java.lang.String remoteFile,
java.lang.String localFile,
boolean preview,
NXProgressUpdateRunnable callBack) |
java.lang.String[] |
getCredentials() |
java.lang.String |
getCurrDir() |
java.util.HashMap |
getObjectIndex() |
java.lang.String |
getWelcome() |
int |
indexDirectory(java.lang.String dir) |
boolean |
isDirectory(java.lang.String dir) |
void |
put(java.lang.String localFile,
java.lang.String remoteFile,
NXProgressUpdateRunnable callBack) |
void |
renameImpl(java.lang.String oldFile,
java.lang.String newFile) |
void |
setCredentials(java.lang.String[] credentials) |
void |
stopCurrent() |
void connect()
throws sun.net.ftp.FtpLoginException,
sun.net.ftp.FtpProtocolException,
java.net.UnknownHostException,
java.io.IOException
sun.net.ftp.FtpLoginExceptionsun.net.ftp.FtpProtocolExceptionjava.net.UnknownHostExceptionjava.io.IOExceptionvoid setCredentials(java.lang.String[] credentials)
java.lang.String[] getCredentials()
java.util.HashMap getObjectIndex()
byte[] get(java.lang.String remoteFile,
java.lang.String localFile,
boolean preview,
NXProgressUpdateRunnable callBack)
throws java.io.IOException,
sun.net.ftp.FtpProtocolException
java.io.IOExceptionsun.net.ftp.FtpProtocolExceptionvoid put(java.lang.String localFile,
java.lang.String remoteFile,
NXProgressUpdateRunnable callBack)
throws java.io.IOException,
sun.net.ftp.FtpProtocolException
java.io.IOExceptionsun.net.ftp.FtpProtocolExceptionint indexDirectory(java.lang.String dir)
throws java.lang.Exception
java.lang.Exceptionvoid fakeDirectory(NXObjectIndex oi, java.lang.String path)
void createDirectory(java.lang.String dir)
throws java.io.IOException
java.io.IOExceptionvoid changeFolder(java.lang.String dir)
throws java.lang.Exception
java.lang.Exceptionvoid cdUp()
throws java.io.IOException
java.io.IOExceptionvoid deleteDirectory(java.lang.String dir)
throws java.io.IOException,
sun.net.ftp.FtpProtocolException
java.io.IOExceptionsun.net.ftp.FtpProtocolExceptionvoid renameImpl(java.lang.String oldFile,
java.lang.String newFile)
throws java.io.IOException,
sun.net.ftp.FtpProtocolException
java.io.IOExceptionsun.net.ftp.FtpProtocolExceptionvoid delete(java.lang.String file)
throws java.io.IOException,
sun.net.ftp.FtpProtocolException
java.io.IOExceptionsun.net.ftp.FtpProtocolExceptionboolean isDirectory(java.lang.String dir)
void disconnect()
java.lang.String getCurrDir()
void stopCurrent()
java.lang.String getWelcome()