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

com.orion.office.excel.writer.ExcelMapWriter Maven / Gradle / Ivy

There is a newer version: 1.0.9
Show newest version
package com.orion.office.excel.writer;

import org.apache.poi.ss.usermodel.Sheet;
import org.apache.poi.ss.usermodel.Workbook;

import java.util.Map;

/**
 * excel map 写入器
 *
 * @author Jiahang Li
 * @version 1.0.0
 * @since 2021/1/13 14:12
 */
public class ExcelMapWriter extends BaseExcelWriter> {

    public ExcelMapWriter(Workbook workbook, Sheet sheet) {
        super(workbook, sheet);
    }

    @Override
    protected Object getValue(Map row, K key) {
        return row.get(key);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy