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

com.wadpam.open.io.Converter Maven / Gradle / Ivy

package com.wadpam.open.io;

import java.io.OutputStream;
import java.util.Map;

/**
 *
 * @author os
 */
public interface Converter {
    
    Object initPreDao(OutputStream out, Object arg);

    Object preExport(OutputStream out, Object arg, Object preExport, D[] daos);

    Object postExport(OutputStream out, Object arg, Object preExport, Object postExport, 
            D[] daos);

    Object preDao(OutputStream out, Object arg, Object preExport, Object preDao, 
            String tableName, Iterable columns, Map headers, 
            int daoIndex, D dao);

    Object postDao(OutputStream out, Object arg, Object preExport, Object preDao, Object postDao, D dao);

    Object writeValues(OutputStream out, Object arg, Object preExport, Object preDao, 
            Iterable columns, int daoIndex, D dao, int entityIndex, Object entity, Map values);
    
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy