Class Sync.MyCopy

Enclosing class:

public static class Sync.MyCopy
extends Copy

Subclass Copy in order to access it's file/dir maps.

Field Summary
Fields inherited from class
completeDirMap, destDir, destFile, dirCopyMap, failonerror, file, fileCopyMap, filesets, fileUtils, filtering, flatten, forceOverwrite, includeEmpty, mapperElement, preserveLastModified, verbosity
Fields inherited from class
description, location, target, taskName, taskType, wrapper
Fields inherited from class
Constructor Summary
Method Summary
protected  void buildMap( fromDir, toDir, java.lang.String[] names, FileNameMapper mapper, java.util.Hashtable map)
          Add to a map of files/directories to copy
 boolean getIncludeEmptyDirs()
Methods inherited from class
add, addFileset, createFilterChain, createFilterSet, createMapper, doFileOperations, execute, getEncoding, getFileUtils, getFilterChains, getFilterSets, getOutputEncoding, getPreserveLastModified, isEnableMultipleMapping, scan, setEnableMultipleMappings, setEncoding, setFailOnError, setFile, setFiltering, setFlatten, setGranularity, setIncludeEmptyDirs, setOutputEncoding, setOverwrite, setPreserveLastModified, setPreserveLastModified, setTodir, setTofile, setVerbose, validateAttributes
Methods inherited from class
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
getProject, setProject
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public Sync.MyCopy()
Method Detail


protected void buildMap( fromDir,
                        java.lang.String[] names,
                        FileNameMapper mapper,
                        java.util.Hashtable map)
Description copied from class: Copy
Add to a map of files/directories to copy

buildMap in class Copy
fromDir - the source directory
toDir - the destination directory
names - a list of filenames
mapper - a FileNameMapper value
map - a map of source file to array of destination files


public getToDir()


public boolean getIncludeEmptyDirs()

Copyright 2000-2005 Apache Software Foundation. All Rights Reserved.