Apache Commons JEXL
来源:互联网 发布:合同矩阵和相似矩阵 编辑:程序博客网 时间:2024/05/16 15:54
Apache Commons JEXL
JEXL is a library intended to facilitate the implementation of dynamic and scripting features in applications and frameworks written in Java.
example:
import org.apache.commons.jexl3.*;public class MyJEXL { public static void main(String[] args) { JexlEngine jexl = new JexlBuilder().create(); String jexlExp = "person.getName()"; JexlExpression jexlExpression = jexl.createExpression(jexlExp); JexlContext jexlContext = new MapContext(); Person person = new Person("aaa", "20"); jexlContext.set("person", person); Object o = jexlExpression.evaluate(jexlContext); System.out.println(o); }}
pom.xml
<dependencies> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-jexl3</artifactId> <version>3.0</version> </dependency> </dependencies>
0 0
- Apache Commons JEXL
- 试用commons-jexl
- Commons JEXL 示例详解
- JEXL
- Apache Commons
- APACHE COMMONS
- Apache Commons
- Apache Commons
- apache.commons
- Apache commons
- apache commons
- Apache Commons
- Apache Commons
- Apache Commons
- Apache Commons:Commons-codec介绍
- apache commons 之 commons.lang
- apache commons 之 commons-configuration
- Apache Commons(http://commons.apache.org/)
- UICollectionView使用以及与UITableView的区别
- 【转】解决SecureCRT超时自动断开的问题
- 第十四条建议:使类和成员变量的可访问性降到最低
- OpenSceneGraph实现的NeHe OpenGL教程 - 第三十五课
- java程序执行SQL脚本文件
- Apache Commons JEXL
- unix tera term显示乱码问题
- 技巧:快速提高 Vi/Vim 使用效率的原则与途径
- java代码实现压缩文件
- Android自定义统计图(柱状图,折线图,饼状图)
- Android4.4、Android5.0+状态栏颜色、透明等设置
- 【思维导图】--没有目标怎么办
- iOS oc与js的交互之WebviewJavaScripteBridge
- sqlldr把文本导入到oracle数据库