01: package net.sourceforge.jarbundler;
02:
03: import java.util.ArrayList;
04: import java.util.List;
05:
06: import org.apache.tools.ant.taskdefs.MatchingTask;
07: import org.apache.tools.ant.types.FileList;
08: import org.apache.tools.ant.types.FileSet;
09:
10: import java.lang.String;
11:
12: public class HelpBook extends MatchingTask {
13:
14: private String folderName = null;
15: private String name = null;
16: private String locale = null;
17:
18: private final List fileLists = new ArrayList();
19: private final List fileSets = new ArrayList();
20:
21: // Help Book name
22: public void setName(String name) {
23: this .name = name;
24: }
25:
26: public String getName() {
27: return name;
28: }
29:
30: // Help Book folder name
31: public void setFolderName(String folderName) {
32: this .folderName = folderName;
33: }
34:
35: public String getFolderName() {
36: return folderName;
37: }
38:
39: // Help Book locale
40: public void setLocale(String locale) {
41: this .locale = locale;
42: }
43:
44: public String getLocale() {
45: return locale;
46: }
47:
48: // Help Book files as a ANT FileList
49: public void addFileList(FileList fileList) {
50: fileLists.add(fileList);
51: }
52:
53: public List getFileLists() {
54: return fileLists;
55: }
56:
57: // Help Book files as a ANT FileSet
58: public void addFileSet(FileSet fileSet) {
59: fileSets.add(fileSet);
60: }
61:
62: public List getFileSets() {
63: return fileSets;
64: }
65:
66: }
|