📄 converter.java
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -