PageRenderTime 32ms CodeModel.GetById 0ms RepoModel.GetById 0ms 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
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
  1. package net.sourceforge.jarbundler;
  2. import java.util.ArrayList;
  3. import java.util.List;
  4. import org.apache.tools.ant.taskdefs.MatchingTask;
  5. import org.apache.tools.ant.types.FileList;
  6. import org.apache.tools.ant.types.FileSet;
  7. import java.lang.String;
  8. public class HelpBook extends MatchingTask {
  9. private String folderName = null;
  10. private String name = null;
  11. private String locale = null;
  12. private final List fileLists = new ArrayList();
  13. private final List fileSets = new ArrayList();
  14. // Help Book name
  15. public void setName(String name) {
  16. this.name = name;
  17. }
  18. public String getName() {
  19. return name;
  20. }
  21. // Help Book folder name
  22. public void setFolderName(String folderName) {
  23. this.folderName = folderName;
  24. }
  25. public String getFolderName() {
  26. return folderName;
  27. }
  28. // Help Book locale
  29. public void setLocale(String locale) {
  30. this.locale = locale;
  31. }
  32. public String getLocale() {
  33. return locale;
  34. }
  35. // Help Book files as a ANT FileList
  36. public void addFileList(FileList fileList) {
  37. fileLists.add(fileList);
  38. }
  39. public List getFileLists() {
  40. return fileLists;
  41. }
  42. // Help Book files as a ANT FileSet
  43. public void addFileSet(FileSet fileSet) {
  44. fileSets.add(fileSet);
  45. }
  46. public List getFileSets() {
  47. return fileSets;
  48. }
  49. }