|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.opensync.engine.server.DefaultProtocol
org.opensync.engine.server.protocol.FTPProtocol
The protocol used to get information from a ftp file server
| Field Summary |
| Fields inherited from class org.opensync.engine.server.DefaultProtocol |
connector, folder, name, removeFile, renameFile |
| Fields inherited from interface org.opensync.engine.server.Protocol |
FTP, WIN_FILE |
| Constructor Summary | |
FTPProtocol()
Construct a FTPProtocl |
|
| Method Summary | |
java.lang.String[] |
getViews(java.lang.String fileName)
Get the content of the file fileName |
void |
putView(java.lang.String fileContent,
java.lang.String fileName)
Put the fileContent in the file fileName int
the folder directory |
| Methods inherited from class org.opensync.engine.server.DefaultProtocol |
clean, getConnector, getFolder, getName, init, isRemoveFile, isRenameFile, setConnector, setFolder, setName, setRemoveFile, setRenameFile, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public FTPProtocol()
| Method Detail |
public void putView(java.lang.String fileContent,
java.lang.String fileName)
throws OpenSyncException,
java.io.IOException
fileContent in the file fileName int
the folder directory
fileContent - the file contentfileName - the file name
OpenSyncException
java.io.IOException
public java.lang.String[] getViews(java.lang.String fileName)
throws OpenSyncException,
java.io.IOException
fileName
fileName - the file name (not use *)
OpenSyncException
java.io.IOException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||