converter.java
来自「Persistence Layer s ebook and source cod」· Java 代码 · 共 26 行
JAVA
26 行
package pl.converter;
/**
* This interface represents converter. Object type is the type of a
* PersistentObject's attribute.
*
* @author Artem Rudoy
*/
public interface Converter
{
/**
* Init converter.
*/
public void init(java.util.Properties properties) throws pl.PlException;
/**
* Convert to object attribute type.
*/
public Object convertTo(Object object) throws pl.PlException;
/**
* Convert from object attribute type.
*/
public Object convertFrom(Object object) throws pl.PlException;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?