📄 converter.java
字号:
package xyz.frame.converter;import xyz.frame.LogicRequest;/** * Basic converter. * * @author Guilherme Silveira */public interface Converter { /** * Converts a value to an specific type * * @param value * current value * @param type * desired type * @return the converted value * @throws ConversionException * some convertion problem hapenned */ public Object convert(String value, Class<?> type, LogicRequest context) throws ConversionException; /** * Returns the list of supported types * * @return array of supported types */ public Class<?>[] getSupportedTypes();}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -