Files
redkale/com/wentch/redkale/convert/Convert.java
地平线 ac6a2e57c6
2015-09-22 17:34:27 +08:00

27 lines
604 B
Java

/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.wentch.redkale.convert;
/**
* 序列化操作类
*
* @author zhangjx
* @param <R>
* @param <W>
*/
public abstract class Convert<R extends Reader, W extends Writer> {
protected final Factory<R, W> factory;
protected Convert(Factory<R, W> factory) {
this.factory = factory;
}
public Factory<R, W> getFactory() {
return this.factory;
}
}