org.schmant.task.at4j.zip
Class ZipDirectoryWithRules
java.lang.Object
org.schmant.task.at4j.zip.ZipDirectoryWithRules
public class ZipDirectoryWithRules
- extends Object
This object is used to combine a directory with a list of ArchiveEntrySettingsRule
:s.
It is used by the At4JZipTask
(interpreted by the
At4JZipTask.addToZipBuilder(org.at4j.zip.builder.ZipBuilder, Object)
method).
- Since:
- 0.8
- Author:
- Karl Gustafsson
- See Also:
At4JZipTask
- Task_package:
- org.at4j
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ZipDirectoryWithRules
public ZipDirectoryWithRules(Object dir,
ArchiveEntrySettingsRule<ZipEntrySettings> rule)
- Create a directory to Zip with one rule.
- Parameters:
dir
- The directory. This argument will be interpreted as described
in At4JZipTask.addToZipBuilder(org.at4j.zip.builder.ZipBuilder, Object)
.rule
- The rule.
ZipDirectoryWithRules
public ZipDirectoryWithRules(Object dir,
ArchiveEntrySettingsRule<ZipEntrySettings>... rules)
- Create a directory to Zip with several rules.
- Parameters:
dir
- The directory. This argument will be interpreted as described
in At4JZipTask.addToZipBuilder(org.at4j.zip.builder.ZipBuilder, Object)
.rules
- The rules.
getDirectory
public Object getDirectory()
getRules
public ArchiveEntrySettingsRule<ZipEntrySettings>[] getRules()