| 程序包 | 说明 |
|---|---|
| com.easycodebox.common.lang |
| 限定符和类型 | 类和说明 |
|---|---|
static class |
StringToken.OgnlToken
OGNL的简单实现
a.b.c ==> 1、a:false 2、b:false 3、c:false a\.b.c ==> 1、a\.b:false 2、c:false a[b] ==> 1、a:false 2、b:true a['b'] ==> 1、a:false 2、b:false a["b"] ==> 1、a:false 2、b:false 第一个值key;第二个值代表dynamicKey属性,表明表明此key从根对象上获取数据还是从前一个key上获取数据; 可以通过反斜杠转义. ' " [ ] 等字符 |
static class |
StringToken.StringFormatToken
处理占位符格式字符窜: aa{name}bb{age}cc
也可以是嵌套的占位符: aa{name{index}}bb |
Copyright © 2016. All rights reserved.