PageRenderTime 64ms CodeModel.GetById 57ms app.highlight 5ms RepoModel.GetById 1ms app.codeStats 0ms

/jEdit/tags/jedit-4-3-pre5/net/sourceforge/jarbundler/HelpBook.java

#
Java | 71 lines | 44 code | 22 blank | 5 comment | 0 complexity | 5b846a5b93d2047e77e98b1c999be788 MD5 | raw file
 1package net.sourceforge.jarbundler;
 2
 3import java.util.ArrayList;
 4import java.util.List;
 5
 6import org.apache.tools.ant.taskdefs.MatchingTask;
 7import org.apache.tools.ant.types.FileList;
 8import org.apache.tools.ant.types.FileSet;
 9
10import java.lang.String;
11
12
13
14public class HelpBook extends MatchingTask {
15
16	private String folderName = null;
17	private String name = null;
18	private String locale = null;
19
20	private final List fileLists = new ArrayList();
21	private final List fileSets = new ArrayList();
22
23
24	// Help Book name
25	public void setName(String name) {
26		this.name = name;
27	}
28
29	public String getName() {
30		return name;
31	}
32
33
34	// Help Book folder name
35	public void setFolderName(String folderName) {
36		this.folderName = folderName;
37	}
38
39	public String getFolderName() {
40		return folderName;
41	}
42
43
44	// Help Book locale
45	public void setLocale(String locale) {
46		this.locale = locale;
47	}
48
49	public String getLocale() {
50		return locale;
51	}
52
53	// Help Book files as a ANT FileList	
54	public void addFileList(FileList fileList) {
55		fileLists.add(fileList);
56	}
57
58	public List getFileLists() {
59		return fileLists;
60	}
61
62	// Help Book files as a ANT FileSet	
63	public void addFileSet(FileSet fileSet) {
64		fileSets.add(fileSet);
65	}
66
67	public List getFileSets() {
68		return fileSets;
69	}
70
71}