converter.java
来自「通过对bufflao改造」· Java 代码 · 共 15 行
JAVA
15 行
package net.buffalo.protocal.converters;
import net.buffalo.protocal.io.MarshallingContext;
import net.buffalo.protocal.io.StreamReader;
import net.buffalo.protocal.io.StreamWriter;
import net.buffalo.protocal.io.UnmarshallingContext;
public interface Converter {
boolean canConvert(Class type);
void marshal(Object source, MarshallingContext marshallingContext, StreamWriter streamWriter);
Object unmarshal(StreamReader reader, UnmarshallingContext unmarshallingContext);
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?