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

org.jxls.transform.poi.PoiContext Maven / Gradle / Ivy

There is a newer version: 3.0.0
Show newest version
package org.jxls.transform.poi;

import org.jxls.common.Context;

import java.util.Map;

/**
 * Context wrapper for POI
 * Automatically adds {@link PoiUtil} class to the context
 * @author Leonid Vysochyn
 *         Date: 6/18/12
 */
public class PoiContext extends Context {

    public static final String POI_OBJECT_KEY = "util";

    public PoiContext() {
        varMap.put(POI_OBJECT_KEY, new PoiUtil());
    }

    public PoiContext(Map map) {
        super(map);
        varMap.put(POI_OBJECT_KEY, new PoiUtil());
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy