|
static final String | SCHEDULER_FILE = "/WEB-INF/elephant/conf/scheduler.xml" |
|
- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Definition at line 45 of file ScheduledSet.java.
◆ ScheduledSet()
org.turro.scheduler.motor.ScheduledSet.ScheduledSet |
( |
| ) |
|
◆ loadSet()
static void org.turro.scheduler.motor.ScheduledSet.loadSet |
( |
IConstructor |
constructor, |
|
|
Set |
set |
|
) |
| |
|
static |
Definition at line 70 of file ScheduledSet.java.
71 SAXBuilder builder =
new SAXBuilder();
74 File confFile =
new File(ElephantContext.getRealPath(
SCHEDULER_FILE));
75 if(confFile.exists()) {
76 doc = builder.build(confFile);
77 readXML(constructor, doc.getRootElement(),
set);
79 }
catch (IOException ex) {
80 Logger.getLogger(
ScheduledSet.class.getName()).log(Level.SEVERE, ElephantContext.logMsg(
null), ex);
81 }
catch (JDOMException ex) {
82 Logger.getLogger(
ScheduledSet.class.getName()).log(Level.SEVERE, ElephantContext.logMsg(
null), ex);
static final String SCHEDULER_FILE
◆ saveSet()
static void org.turro.scheduler.motor.ScheduledSet.saveSet |
( |
IConstructor |
constructor, |
|
|
Set |
set |
|
) |
| |
|
static |
Definition at line 54 of file ScheduledSet.java.
55 Document doc =
new Document(
new Element(
"elephant-scheduler"));
56 saveXML(doc.getRootElement(),
set);
58 OutputStreamWriter fw = FileUtil.getFileWriter(
60 Format fm = Format.getPrettyFormat();
61 fm.setEncoding(ElephantContext.getEncoding());
62 XMLOutputter xo =
new XMLOutputter(fm);
65 }
catch (IOException ex) {
66 Logger.getLogger(
ScheduledSet.class.getName()).log(Level.SEVERE, ElephantContext.logMsg(
null), ex);
◆ SCHEDULER_FILE
final String org.turro.scheduler.motor.ScheduledSet.SCHEDULER_FILE = "/WEB-INF/elephant/conf/scheduler.xml" |
|
static |
The documentation for this class was generated from the following file: