| Package | Description |
|---|---|
| pro.fessional.meepo | |
| pro.fessional.meepo.sack |
| Modifier and Type | Method and Description |
|---|---|
static @NotNull Gene |
Meepo.cache(@NotNull String key,
@NotNull Supplier<Gene> gen,
int ttl) |
static @NotNull Gene |
Meepo.parse(@NotNull File file)
Parses from file and cache by its path with ttl=CACHE_ALWAYS
|
static @NotNull Gene |
Meepo.parse(@NotNull File file,
int ttl)
Parses from file and cache by its path with the given ttl.
|
static @NotNull Gene |
Meepo.parse(@NotNull String uri)
Parse form the URI with ttl=CACHE_ALWAYS
URI support `file://`,`classpath:`,`http://`
|
static @NotNull Gene |
Meepo.parse(@NotNull String key,
@NotNull InputStream ins)
Parses from stream and cache by its path with ttl=CACHE_ALWAYS
|
static @NotNull Gene |
Meepo.parse(@NotNull String key,
@NotNull InputStream ins,
int ttl)
Parses from stream and cache by its path with the given ttl.
|
static @NotNull Gene |
Meepo.parse(@NotNull String uri,
int ttl)
Parse form the URI with the given ttl.
|
static @NotNull Gene |
Meepo.parse(@NotNull String key,
@NotNull String txt)
Parses text directly and cache by key with ttl=CACHE_ALWAYS
|
static @NotNull Gene |
Meepo.parse(@NotNull String key,
@NotNull String txt,
int ttl)
Parses text directly and cache by key with the given ttl.
|
| Modifier and Type | Method and Description |
|---|---|
static @NotNull InputStream |
Meepo.steam(@NotNull Map<String,Object> ctx,
@NotNull Gene gene)
Merge the Gene with the context to stream.
|
| Modifier and Type | Method and Description |
|---|---|
static Gene |
Holder.parse(boolean lax,
String txt)
Parse placeholder template.
|
static Gene |
Holder.parse(boolean lax,
String txt,
String pre,
String suf)
Parse placeholder template.
|
static Gene |
Holder.parse(boolean lax,
String txt,
String pre,
String suf,
String esc)
Parse placeholder template.
|
static Gene |
Holder.parse(String txt)
Parse placeholder template, strict mode.
|
static Gene |
Parser.parse(String txt)
Parse template, strict mode.
|
static Gene |
Parser.parse(String txt,
boolean lax)
Parse template.
|
static Gene |
Parser.parse(String txt,
String pwd)
Parse template, strict mode.
|
static Gene |
Parser.parse(String txt,
String pwd,
boolean lax)
Parse template, strict mode.
|
static Gene |
Holder.parse(String txt,
String pre,
String suf)
Parse placeholder template, strict mode.
|
static Gene |
Holder.parse(String txt,
String pre,
String suf,
String esc)
Parse placeholder template, strict mode.
|
Gene |
Parser.Ctx.toGene() |
Copyright © 2024. All rights reserved.