org.jeecgframework.poi.util.ExcelUtil Maven / Gradle / Ivy
package org.jeecgframework.poi.util;
/**
* @author Link Xue
* @version 20171025
* POI对EXCEL操作工具
*/
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.*;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.poi.EncryptedDocumentException;
import org.apache.poi.hssf.usermodel.HSSFCell;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
import org.apache.poi.ss.usermodel.*;
import org.apache.poi.xssf.usermodel.XSSFWorkbook;
import org.apache.poi.openxml4j.exceptions.InvalidFormatException;
import org.apache.poi.ss.util.CellRangeAddress;
public class ExcelUtil {
public static void main(String[] args){
//读取excel数据
ArrayList
© 2015 - 2024 Weber Informatics LLC | Privacy Policy