public class ExpressionUtil extends Object
Constructor and Description |
---|
ExpressionUtil() |
Modifier and Type | Method and Description |
---|---|
static Object |
eval(String expression,
Map<String,Object> context)
执行表达式
|
static Object |
eval(String expression,
Map<String,Object> context,
Collection<Class<?>> allowClassSet)
执行表达式
|
static ExpressionEngine |
getEngine()
获得全局单例的表达式引擎
|
Copyright © 2024. All rights reserved.