| Modifier and Type | Method and Description |
|---|---|
boolean |
canRead(Context ctx,
String mime)
是否可读
|
boolean |
canWrite(String mime,
Context ctx)
是否可写
|
default String[] |
mappings()
映射
|
default String |
name()
名字
|
Object[] |
read(Context ctx,
Object target,
MethodWrap mWrap)
读取(参数分析)
|
void |
write(Object data,
Context ctx)
写入(渲染)
|
String |
writeAndReturn(Object data,
Context ctx)
写入并返回(渲染并返回(默认不实现))
|
default String name()
default String[] mappings()
String writeAndReturn(Object data, Context ctx) throws Throwable
Throwablevoid write(Object data, Context ctx) throws Throwable
data - 数据ctx - 上下文ThrowableCopyright © 2025. All rights reserved.