|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.commons.vfs2.tasks.VfsTask
org.apache.commons.vfs2.tasks.AbstractSyncTask
org.apache.commons.vfs2.tasks.CopyTask
org.apache.commons.vfs2.tasks.MoveTask
public class MoveTask
An Ant task that moves matching files.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.apache.commons.vfs2.tasks.AbstractSyncTask |
|---|
AbstractSyncTask.SourceInfo |
| Field Summary |
|---|
| Fields inherited from class org.apache.tools.ant.Task |
|---|
description, location, target, taskName, taskType, wrapper |
| Fields inherited from class org.apache.tools.ant.ProjectComponent |
|---|
project |
| Constructor Summary | |
|---|---|
MoveTask()
|
|
| Method Summary | |
|---|---|
protected void |
handleOutOfDateFile(FileObject srcFile,
FileObject destFile)
Handles a single source file. |
void |
setTryRename(boolean tryRename)
Enable/disable move/rename of file (if possible). |
| Methods inherited from class org.apache.commons.vfs2.tasks.CopyTask |
|---|
handleUpToDateFile, isOverwrite, isPreserveLastModified, setOverwrite, setPreserveLastModified |
| Methods inherited from class org.apache.commons.vfs2.tasks.AbstractSyncTask |
|---|
addConfiguredSrc, detectMissingSourceFiles, execute, handleMissingSourceFile, 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 org.apache.tools.ant.Task |
|---|
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
| Methods inherited from class org.apache.tools.ant.ProjectComponent |
|---|
getProject, setProject |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MoveTask()
| Method Detail |
|---|
public void setTryRename(boolean tryRename)
tryRename - true if the file should be renamed.
protected void handleOutOfDateFile(FileObject srcFile,
FileObject destFile)
throws FileSystemException
handleOutOfDateFile in class CopyTasksrcFile - The source FileObject.destFile - The destination FileObject.
FileSystemException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||