|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectTask
org.apache.commons.vfs2.tasks.VfsTask
org.apache.commons.vfs2.tasks.AbstractSyncTask
org.apache.commons.vfs2.tasks.CopyTask
org.apache.commons.vfs2.tasks.SyncTask
public class SyncTask
A task that synchronises the destination folder to look exactly like the source folder (or folders).
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.apache.commons.vfs2.tasks.AbstractSyncTask |
|---|
AbstractSyncTask.SourceInfo |
| Constructor Summary | |
|---|---|
SyncTask()
|
|
| Method Summary | |
|---|---|
protected boolean |
detectMissingSourceFiles()
Check if this task cares about destination files with a missing source file. |
protected void |
handleMissingSourceFile(FileObject destFile)
Handles a destination for which there is no corresponding source file. |
| Methods inherited from class org.apache.commons.vfs2.tasks.CopyTask |
|---|
handleOutOfDateFile, handleUpToDateFile, isOverwrite, isPreserveLastModified, setOverwrite, setPreserveLastModified |
| Methods inherited from class org.apache.commons.vfs2.tasks.AbstractSyncTask |
|---|
addConfiguredSrc, execute, isFailonerror, logOrDie, setDestDir, setDestFile, setFailonerror, setIncludes, setSrc, setSrcDir, setSrcDirIsBase |
| Methods inherited from class org.apache.commons.vfs2.tasks.VfsTask |
|---|
closeManager, resolveFile |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SyncTask()
| Method Detail |
|---|
protected void handleMissingSourceFile(FileObject destFile)
throws java.lang.Exception
handleMissingSourceFile in class AbstractSyncTaskjava.lang.Exceptionprotected boolean detectMissingSourceFiles()
detectMissingSourceFiles in class AbstractSyncTask
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||