All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.noear.nami.Decoder Maven / Gradle / Ivy

There is a newer version: 3.0.0-M4
Show newest version
package org.noear.nami;

import java.lang.reflect.Type;

/**
 * Nami - 解码器
 *
 * @author noear
 * @since 1.2
 * */
public interface Decoder {
    /**
     * 编码
     * */
    String enctype();

    /**
     * 反序列化
     * */
     T decode(Result rst, Type clz);

    /**
     * 预处理
     * */
    void pretreatment(Context ctx);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy