|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SyncEndpoint
Endpoint to which files are synchronized.
Method Summary | |
---|---|
java.util.Iterator<java.lang.String> |
getFilesList()
Retrieves a listing of all files available at the endpoint. |
boolean |
syncFile(java.io.File file,
java.io.File watchDir)
Ensures that the endpoint includes a file equivalent to the provided local file: - If the local file exists but no file with the same path exists at the endpoint, the local file will be copied to the endpoint - If the local file exists and is different from a file with the same path at the endpoint, the local file will replace the file at the endpoint. |
Method Detail |
---|
boolean syncFile(java.io.File file, java.io.File watchDir)
file
- local file to sync with the endpointwatchDir
- the directory under watch in which this file resides
java.util.Iterator<java.lang.String> getFilesList()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |