| Package | Description |
|---|---|
| pro.fessional.meepo | |
| pro.fessional.meepo.sack |
| Modifier and Type | Method and Description |
|---|---|
static @NotNull Gene |
Meepo.parse(File file)
解析文件,并通过key控制缓存(ttl=CACHE_ALWAYS)
|
static @NotNull Gene |
Meepo.parse(File file,
int ttl)
解析文件,并通过key控制缓存
|
static @NotNull Gene |
Meepo.parse(String uri)
通过uri解析(ttl=CACHE_ALWAYS)
URI支持`file://`,`classpath:`,`http://`等
|
static @NotNull Gene |
Meepo.parse(String key,
InputStream ins)
解析文本,并通过key控制缓存(ttl=CACHE_ALWAYS)
|
static @NotNull Gene |
Meepo.parse(String key,
InputStream ins,
int ttl)
解析文本,并通过key控制缓存
|
static @NotNull Gene |
Meepo.parse(String uri,
int ttl)
通过uri解析,URI支持`file://`,`classpath:`,`http://`等
|
static @NotNull Gene |
Meepo.parse(String key,
String txt)
直接解析文本,并通过key控制缓存(ttl=CACHE_ALWAYS)
|
static @NotNull Gene |
Meepo.parse(String key,
String txt,
int ttl)
直接解析文本,并通过key控制缓存
|
| Modifier and Type | Method and Description |
|---|---|
static @NotNull InputStream |
Meepo.steam(Map<String,Object> ctx,
Gene gene)
合并模板,并蒸汽它
|
| Modifier and Type | Method and Description |
|---|---|
static Gene |
Parser.parse(String txt)
解析文本,严格模式。
|
static Gene |
Parser.parse(String txt,
boolean lax)
解析文本。发现指令的语法错误时,有放松模式(日志warn,并视为普通文本)和严格模式(抛异常)
|
Gene |
Parser.Ctx.toGene() |
Copyright © 2020. All rights reserved.