All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.whaleal.icefrog.extra.expression.engine.jfireel.JfireELEngine Maven / Gradle / Ivy

There is a newer version: 1.1.71
Show newest version
package com.whaleal.icefrog.extra.expression.engine.jfireel;

import com.jfirer.jfireel.expression.Expression;
import com.whaleal.icefrog.extra.expression.ExpressionEngine;

import java.util.Map;

/**
 * JfireEL引擎封装
* 见:https://gitee.com/eric_ds/jfireEL * * @author looly */ public class JfireELEngine implements ExpressionEngine { /** * 构造 */ public JfireELEngine() { } @Override public Object eval( String expression, Map context ) { return Expression.parse(expression).calculate(context); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy