-
- All Implemented Interfaces:
public class PathFormats extends ComponentRegistry<PathFormat>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classPathFormats.StandardPath标准路径。
规则:
以
/作为分隔符。{name}匹配任意项,并命名为name。index匹配索引index,index是整数。name匹配名字、键name。
public classPathFormats.JsonPointerPathJson指针路径。
规则:
以
/作为分隔符。{name}匹配任意项,并命名为name。-(仅对于赋值操作)匹配数组最后一个元素的下一个元素。index匹配索引index,index是整数。name匹配名字、键name。
public classPathFormats.AntPathAnt路径。
规则:
以
/作为分隔符。?匹配任意单个字符。*匹配除了分隔符之外的任意数量的任意字符。**匹配任意数量的任意字符。{name}匹配任意项,并命名为name。index匹配索引index,index是整数。name匹配名字、键name。
public classPathFormats.ReferencePath引用路径。
规则:
以
.作为分隔符,可以在索引之前省略。[index]匹配索引index,index是整数。name匹配名字、键name。
-
Field Summary
Fields Modifier and Type Field Description private final Map<String, PathFormat>componentspublic final static PathFormatsINSTANCE
-
Method Summary
Modifier and Type Method Description final Map<String, PathFormat>getComponents()得到已注册的组件映射。Get registered component map. -
-
Method Detail
-
getComponents
final Map<String, PathFormat> getComponents()
得到已注册的组件映射。
Get registered component map.
-
-
-
-