| Package | Description |
|---|---|
| com.izforge.izpack.util.file | |
| com.izforge.izpack.util.file.types | |
| com.izforge.izpack.util.file.types.selectors |
| Modifier and Type | Class and Description |
|---|---|
class |
CompositeMapper
A
ContainerMapper that unites the results of its constituent
FileNameMappers into a single set of result filenames. |
class |
ContainerMapper
A
FileNameMapper that contains other FileNameMappers. |
class |
FlatFileNameMapper
Implementation of FileNameMapper that always returns the source
file name without any leading directory information.
|
class |
GlobPatternMapper
Implementation of FileNameMapper that does simple wildcard pattern
replacements.
|
class |
IdentityMapper
Implementation of FileNameMapper that always returns the source file name.
|
class |
MergingMapper
Implementation of FileNameMapper that always returns the same
target file name.
|
| Modifier and Type | Method and Description |
|---|---|
List<FileNameMapper> |
ContainerMapper.getMappers()
Get the
List of FileNameMappers. |
| Modifier and Type | Method and Description |
|---|---|
void |
FileCopyTask.add(FileNameMapper fileNameMapper)
A nested filenamemapper
|
void |
ContainerMapper.add(FileNameMapper fileNameMapper)
Add a
FileNameMapper. |
protected void |
FileCopyTask.buildMap(File fromDir,
File toDir,
String[] names,
FileNameMapper mapper,
Hashtable<String,String[]> map)
Add to a map of files/directories to copy
|
protected boolean |
ContainerMapper.contains(FileNameMapper fileNameMapper)
Return
true if this ContainerMapper or any of its sub-elements
contains the specified FileNameMapper. |
String[] |
SourceFileScanner.restrict(String[] files,
File srcDir,
File destDir,
FileNameMapper mapper)
Restrict the given set of files to those that are newer than
their corresponding target files.
|
String[] |
SourceFileScanner.restrict(String[] files,
File srcDir,
File destDir,
FileNameMapper mapper,
long granularity)
Restrict the given set of files to those that are newer than
their corresponding target files.
|
File[] |
SourceFileScanner.restrictAsFiles(String[] files,
File srcDir,
File destDir,
FileNameMapper mapper)
Convinience layer on top of restrict that returns the source
files as File objects (containing absolute paths if srcDir is
absolute).
|
File[] |
SourceFileScanner.restrictAsFiles(String[] files,
File srcDir,
File destDir,
FileNameMapper mapper,
long granularity)
Convinience layer on top of restrict that returns the source
files as File objects (containing absolute paths if srcDir is
absolute).
|
static Resource[] |
ResourceUtils.selectOutOfDateSources(Resource[] source,
FileNameMapper mapper,
ResourceFactory targets)
tells which source files should be reprocessed based on the
last modification date of target files
|
static Resource[] |
ResourceUtils.selectOutOfDateSources(Resource[] resources,
FileNameMapper mapper,
ResourceFactory targets,
long granularity)
tells which source files should be reprocessed based on the
last modification date of target files
|
| Modifier and Type | Method and Description |
|---|---|
FileNameMapper |
Mapper.getImplementation()
Returns a fully configured FileNameMapper implementation.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Mapper.add(FileNameMapper fileNameMapper)
Add a nested
FileNameMapper. |
| Modifier and Type | Field and Description |
|---|---|
protected FileNameMapper |
MappingSelector.map |
Copyright © 2001–2025. All rights reserved.