- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Definition at line 34 of file Formulas.java.
◆ getFormula() [1/4]
String org.turro.indicator.Formulas.getFormula |
( |
Class |
javaClass | ) |
|
◆ getFormula() [2/4]
String org.turro.indicator.Formulas.getFormula |
( |
Class |
javaClass, |
|
|
String |
defaultValue |
|
) |
| |
◆ getFormula() [3/4]
String org.turro.indicator.Formulas.getFormula |
( |
String |
classContext | ) |
|
Definition at line 46 of file Formulas.java.
47 return getProperty(classContext);
◆ getFormula() [4/4]
String org.turro.indicator.Formulas.getFormula |
( |
String |
classContext, |
|
|
String |
defaultValue |
|
) |
| |
Definition at line 50 of file Formulas.java.
51 return getProperty(classContext, defaultValue);
◆ getFormulaAttr() [1/4]
String org.turro.indicator.Formulas.getFormulaAttr |
( |
Class |
javaClass, |
|
|
String |
attribute |
|
) |
| |
◆ getFormulaAttr() [2/4]
String org.turro.indicator.Formulas.getFormulaAttr |
( |
Class |
javaClass, |
|
|
String |
attribute, |
|
|
String |
defaultValue |
|
) |
| |
◆ getFormulaAttr() [3/4]
String org.turro.indicator.Formulas.getFormulaAttr |
( |
String |
classContext, |
|
|
String |
attribute |
|
) |
| |
Definition at line 69 of file Formulas.java.
70 return getProperty(createProperty(classContext, attribute));
◆ getFormulaAttr() [4/4]
String org.turro.indicator.Formulas.getFormulaAttr |
( |
String |
classContext, |
|
|
String |
attribute, |
|
|
String |
defaultValue |
|
) |
| |
Definition at line 73 of file Formulas.java.
74 return getProperty(createProperty(classContext, attribute), defaultValue);
◆ load()
static Formulas org.turro.indicator.Formulas.load |
( |
| ) |
|
|
static |
Definition at line 90 of file Formulas.java.
91 boolean exists = FileWatch.exists(ElephantContext.getRealPath(formulaFile));
92 if(_formulas ==
null || FileWatch.isNewer(ElephantContext.getRealPath(formulaFile), _lastLoad) || !exists) {
94 try(FileInputStream fis =
new FileInputStream(ElephantContext.getRealPath(formulaFile))) {
95 _formulas =
new Formulas();
97 }
catch (IOException ex) {
98 Logger.getLogger(Formulas.class.getName()).log(Level.SEVERE, ElephantContext.logMsg(
null), ex);
101 _formulas =
new Formulas();
103 _lastLoad = FileWatch.getTime(ElephantContext.getRealPath(formulaFile));
◆ setFormula()
void org.turro.indicator.Formulas.setFormula |
( |
String |
classContext, |
|
|
String |
value |
|
) |
| |
Definition at line 54 of file Formulas.java.
55 setProperty(classContext, value);
The documentation for this class was generated from the following file: