NetExcel.java 618 Bytes
Newer Older
zp's avatar
zp committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
package com.tanpu.fund.excel;

import cn.hutool.poi.excel.ExcelReader;
import cn.hutool.poi.excel.ExcelUtil;
import com.tanpu.fund.BaseTest;
import org.junit.Test;

import java.util.List;

/**
 * @author: zhoupeng
 * @email: zhoupeng_08@163.com
 */
public class NetExcel extends BaseTest {

    public static final String URL = "https://mylolis-my.sharepoint.com/personal/f3101_365up_site/Documents/工作簿2.xlsx";

    @Test
    public void productNetAnalysis() {
        ExcelReader reader = ExcelUtil.getReader(URL);

        List<List<Object>> read = reader.read();

        System.out.println(read);


    }

}