/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
Possible License(s): BSD-3-Clause, AGPL-1.0, Apache-2.0, LGPL-2.0, LGPL-3.0, GPL-2.0, CC-BY-SA-3.0, LGPL-2.1, GPL-3.0, MPL-2.0-no-copyleft-exception, IPL-1.0
- package net.sourceforge.jarbundler;
- import java.util.ArrayList;
- import java.util.List;
- import org.apache.tools.ant.taskdefs.MatchingTask;
- import org.apache.tools.ant.types.FileList;
- import org.apache.tools.ant.types.FileSet;
- import java.lang.String;
- public class HelpBook extends MatchingTask {
- private String folderName = null;
- private String name = null;
- private String locale = null;
- private final List fileLists = new ArrayList();
- private final List fileSets = new ArrayList();
- // Help Book name
- public void setName(String name) {
- this.name = name;
- }
- public String getName() {
- return name;
- }
- // Help Book folder name
- public void setFolderName(String folderName) {
- this.folderName = folderName;
- }
- public String getFolderName() {
- return folderName;
- }
- // Help Book locale
- public void setLocale(String locale) {
- this.locale = locale;
- }
- public String getLocale() {
- return locale;
- }
- // Help Book files as a ANT FileList
- public void addFileList(FileList fileList) {
- fileLists.add(fileList);
- }
- public List getFileLists() {
- return fileLists;
- }
- // Help Book files as a ANT FileSet
- public void addFileSet(FileSet fileSet) {
- fileSets.add(fileSet);
- }
- public List getFileSets() {
- return fileSets;
- }
- }