com.github.siwenyan.profile.ProfileLibraryImpl Maven / Gradle / Ivy
package com.github.siwenyan.profile;
import com.github.siwenyan.common.*;
import org.apache.commons.io.FileUtils;
import org.apache.log4j.Logger;
import org.apache.poi.xssf.usermodel.XSSFSheet;
import org.apache.poi.xssf.usermodel.XSSFWorkbook;
import org.junit.Assert;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.util.*;
public class ProfileLibraryImpl implements IProfileLibrary {
private static final Logger log = Logger.getLogger(ProfileLibraryImpl.class.getName());
public static final String SHEET_VIEW = "view";
private Map> indexedMaps = new LinkedHashMap<>();
public ProfileLibraryImpl(String... paths) {
this(null, paths);
}
public ProfileLibraryImpl(String prefix, String... paths) {
for (String path : paths) {
List