|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.christopherschultz.evaluator.util.ContextUtil
public class ContextUtil
Contains utility methods for use with EvaluationContext objects.
| Method Summary | |
|---|---|
static void |
load(Map props,
EvaluationContext ec)
Loads constants, properties, and functions from the specified Map into the specified EvaluationContext. |
static void |
load(ResourceBundle bundle,
EvaluationContext ec)
Loads constants, properties, and functions from the specified ResourceBundle into the specified EvaluationContext. |
static Map |
toMap(ResourceBundle props)
Converts a ResourceBundle into a Map. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void load(ResourceBundle bundle,
EvaluationContext ec)
bundle - The bundle containing all of the constant, property,
and function definitions.ec - The EvaluationContext into which all the constants,
properties, and functions will be placed.
public static void load(Map props,
EvaluationContext ec)
props - The property map containing all of the constant, property,
and function definitions.ec - The EvaluationContext into which all the constants,
properties, and functions will be placed.public static Map toMap(ResourceBundle props)
props - A ResourceBundle.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||