feat(all): Modify Project Package Name cn.hutool->org.dromara.hutool

BREAKING CHANGE: 包名变更

Closes https://gitee.com/dromara/hutool/issues/I6SC4B
This commit is contained in:
yulin
2023-04-03 02:32:22 +08:00
parent 92807dc7a7
commit 4c154b3aa3
2072 changed files with 6967 additions and 6962 deletions

View File

@@ -10,10 +10,10 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi;
package org.dromara.hutool.poi;
import cn.hutool.core.exceptions.DependencyException;
import cn.hutool.core.classloader.ClassLoaderUtil;
import org.dromara.hutool.core.exceptions.DependencyException;
import org.dromara.hutool.core.classloader.ClassLoaderUtil;
/**
* POI引入检查器

View File

@@ -10,15 +10,15 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi.csv;
package org.dromara.hutool.poi.csv;
import cn.hutool.core.io.file.FileUtil;
import cn.hutool.core.io.IORuntimeException;
import cn.hutool.core.io.IoUtil;
import cn.hutool.core.lang.Assert;
import cn.hutool.core.lang.func.SerConsumer;
import cn.hutool.core.util.CharsetUtil;
import cn.hutool.core.util.ObjUtil;
import org.dromara.hutool.core.io.file.FileUtil;
import org.dromara.hutool.core.io.IORuntimeException;
import org.dromara.hutool.core.io.IoUtil;
import org.dromara.hutool.core.lang.Assert;
import org.dromara.hutool.core.lang.func.SerConsumer;
import org.dromara.hutool.core.util.CharsetUtil;
import org.dromara.hutool.core.util.ObjUtil;
import java.io.File;
import java.io.Reader;

View File

@@ -10,9 +10,9 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi.csv;
package org.dromara.hutool.poi.csv;
import cn.hutool.core.util.CharUtil;
import org.dromara.hutool.core.util.CharUtil;
import java.io.Serializable;
import java.util.LinkedHashMap;

View File

@@ -10,9 +10,9 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi.csv;
package org.dromara.hutool.poi.csv;
import cn.hutool.core.collection.ListUtil;
import org.dromara.hutool.core.collection.ListUtil;
import java.io.Serializable;
import java.util.Iterator;

View File

@@ -10,16 +10,16 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi.csv;
package org.dromara.hutool.poi.csv;
import cn.hutool.core.collection.iter.ComputeIter;
import cn.hutool.core.io.IORuntimeException;
import cn.hutool.core.io.IoUtil;
import cn.hutool.core.map.MapUtil;
import cn.hutool.core.text.StrTrimer;
import cn.hutool.core.text.StrUtil;
import cn.hutool.core.util.CharUtil;
import cn.hutool.core.util.ObjUtil;
import org.dromara.hutool.core.collection.iter.ComputeIter;
import org.dromara.hutool.core.io.IORuntimeException;
import org.dromara.hutool.core.io.IoUtil;
import org.dromara.hutool.core.map.MapUtil;
import org.dromara.hutool.core.text.StrTrimer;
import org.dromara.hutool.core.text.StrUtil;
import org.dromara.hutool.core.util.CharUtil;
import org.dromara.hutool.core.util.ObjUtil;
import java.io.Closeable;
import java.io.IOException;

View File

@@ -10,7 +10,7 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi.csv;
package org.dromara.hutool.poi.csv;
import java.io.Serializable;

View File

@@ -10,12 +10,12 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi.csv;
package org.dromara.hutool.poi.csv;
import cn.hutool.core.io.IORuntimeException;
import cn.hutool.core.io.IoUtil;
import cn.hutool.core.io.file.FileUtil;
import cn.hutool.core.lang.func.SerConsumer;
import org.dromara.hutool.core.io.IORuntimeException;
import org.dromara.hutool.core.io.IoUtil;
import org.dromara.hutool.core.io.file.FileUtil;
import org.dromara.hutool.core.lang.func.SerConsumer;
import java.io.Closeable;
import java.io.File;

View File

@@ -10,11 +10,11 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi.csv;
package org.dromara.hutool.poi.csv;
import cn.hutool.core.bean.BeanUtil;
import cn.hutool.core.bean.copier.CopyOptions;
import cn.hutool.core.lang.Assert;
import org.dromara.hutool.core.bean.BeanUtil;
import org.dromara.hutool.core.bean.copier.CopyOptions;
import org.dromara.hutool.core.lang.Assert;
import java.util.*;

View File

@@ -10,7 +10,7 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi.csv;
package org.dromara.hutool.poi.csv;
import java.io.File;
import java.io.Reader;

View File

@@ -10,9 +10,9 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi.csv;
package org.dromara.hutool.poi.csv;
import cn.hutool.core.util.CharUtil;
import org.dromara.hutool.core.util.CharUtil;
import java.io.Serializable;

View File

@@ -10,21 +10,21 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi.csv;
package org.dromara.hutool.poi.csv;
import cn.hutool.core.bean.BeanUtil;
import cn.hutool.core.collection.CollUtil;
import cn.hutool.core.collection.iter.ArrayIter;
import cn.hutool.core.convert.Convert;
import cn.hutool.core.io.IORuntimeException;
import cn.hutool.core.io.IoUtil;
import cn.hutool.core.io.file.FileUtil;
import cn.hutool.core.lang.Assert;
import cn.hutool.core.map.MapUtil;
import cn.hutool.core.array.ArrayUtil;
import cn.hutool.core.util.CharUtil;
import cn.hutool.core.util.CharsetUtil;
import cn.hutool.core.util.ObjUtil;
import org.dromara.hutool.core.bean.BeanUtil;
import org.dromara.hutool.core.collection.CollUtil;
import org.dromara.hutool.core.collection.iter.ArrayIter;
import org.dromara.hutool.core.convert.Convert;
import org.dromara.hutool.core.io.IORuntimeException;
import org.dromara.hutool.core.io.IoUtil;
import org.dromara.hutool.core.io.file.FileUtil;
import org.dromara.hutool.core.lang.Assert;
import org.dromara.hutool.core.map.MapUtil;
import org.dromara.hutool.core.array.ArrayUtil;
import org.dromara.hutool.core.util.CharUtil;
import org.dromara.hutool.core.util.CharsetUtil;
import org.dromara.hutool.core.util.ObjUtil;
import java.io.*;
import java.nio.charset.Charset;

View File

@@ -17,4 +17,4 @@
* @author looly
*
*/
package cn.hutool.poi.csv;
package org.dromara.hutool.poi.csv;

View File

@@ -10,10 +10,10 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi.excel;
package org.dromara.hutool.poi.excel;
import cn.hutool.core.io.file.FileUtil;
import cn.hutool.core.io.IORuntimeException;
import org.dromara.hutool.core.io.file.FileUtil;
import org.dromara.hutool.core.io.IORuntimeException;
import org.apache.poi.ss.usermodel.Sheet;
import org.apache.poi.xssf.streaming.SXSSFSheet;
import org.apache.poi.xssf.streaming.SXSSFWorkbook;

View File

@@ -10,13 +10,13 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi.excel;
package org.dromara.hutool.poi.excel;
import cn.hutool.core.io.IoUtil;
import cn.hutool.core.lang.Assert;
import cn.hutool.poi.excel.cell.CellLocation;
import cn.hutool.poi.excel.cell.CellUtil;
import cn.hutool.poi.excel.style.StyleUtil;
import org.dromara.hutool.core.io.IoUtil;
import org.dromara.hutool.core.lang.Assert;
import org.dromara.hutool.poi.excel.cell.CellLocation;
import org.dromara.hutool.poi.excel.cell.CellUtil;
import org.dromara.hutool.poi.excel.style.StyleUtil;
import org.apache.poi.common.usermodel.HyperlinkType;
import org.apache.poi.ss.usermodel.Cell;
import org.apache.poi.ss.usermodel.CellStyle;

View File

@@ -10,10 +10,10 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi.excel;
package org.dromara.hutool.poi.excel;
import cn.hutool.core.array.ArrayUtil;
import cn.hutool.core.text.StrUtil;
import org.dromara.hutool.core.array.ArrayUtil;
import org.dromara.hutool.core.text.StrUtil;
import org.apache.poi.ss.formula.ConditionalFormattingEvaluator;
import org.apache.poi.ss.usermodel.Cell;
import org.apache.poi.ss.usermodel.ExcelNumberFormat;

View File

@@ -10,7 +10,7 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi.excel;
package org.dromara.hutool.poi.excel;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
import org.apache.poi.ss.extractor.ExcelExtractor;

View File

@@ -10,9 +10,9 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi.excel;
package org.dromara.hutool.poi.excel;
import cn.hutool.core.io.IORuntimeException;
import org.dromara.hutool.core.io.IORuntimeException;
import org.apache.poi.poifs.filesystem.FileMagic;
import java.io.File;

View File

@@ -10,12 +10,12 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi.excel;
package org.dromara.hutool.poi.excel;
import cn.hutool.core.collection.CollUtil;
import cn.hutool.core.lang.Assert;
import cn.hutool.core.map.multi.ListValueMap;
import cn.hutool.core.text.StrUtil;
import org.dromara.hutool.core.collection.CollUtil;
import org.dromara.hutool.core.lang.Assert;
import org.dromara.hutool.core.map.multi.ListValueMap;
import org.dromara.hutool.core.text.StrUtil;
import org.apache.poi.hssf.usermodel.HSSFClientAnchor;
import org.apache.poi.hssf.usermodel.HSSFPicture;
import org.apache.poi.hssf.usermodel.HSSFPictureData;

View File

@@ -10,18 +10,18 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi.excel;
package org.dromara.hutool.poi.excel;
import cn.hutool.core.io.file.FileUtil;
import cn.hutool.core.lang.Assert;
import cn.hutool.core.lang.func.SerBiConsumer;
import cn.hutool.poi.excel.cell.CellEditor;
import cn.hutool.poi.excel.cell.CellUtil;
import cn.hutool.poi.excel.reader.BeanSheetReader;
import cn.hutool.poi.excel.reader.ColumnSheetReader;
import cn.hutool.poi.excel.reader.ListSheetReader;
import cn.hutool.poi.excel.reader.MapSheetReader;
import cn.hutool.poi.excel.reader.SheetReader;
import org.dromara.hutool.core.io.file.FileUtil;
import org.dromara.hutool.core.lang.Assert;
import org.dromara.hutool.core.lang.func.SerBiConsumer;
import org.dromara.hutool.poi.excel.cell.CellEditor;
import org.dromara.hutool.poi.excel.cell.CellUtil;
import org.dromara.hutool.poi.excel.reader.BeanSheetReader;
import org.dromara.hutool.poi.excel.reader.ColumnSheetReader;
import org.dromara.hutool.poi.excel.reader.ListSheetReader;
import org.dromara.hutool.poi.excel.reader.MapSheetReader;
import org.dromara.hutool.poi.excel.reader.SheetReader;
import org.apache.poi.ss.extractor.ExcelExtractor;
import org.apache.poi.ss.usermodel.Cell;
import org.apache.poi.ss.usermodel.Row;

View File

@@ -10,19 +10,19 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi.excel;
package org.dromara.hutool.poi.excel;
import cn.hutool.core.exceptions.DependencyException;
import cn.hutool.core.io.file.FileUtil;
import cn.hutool.core.io.IoUtil;
import cn.hutool.core.util.ObjUtil;
import cn.hutool.core.regex.ReUtil;
import cn.hutool.core.text.StrUtil;
import cn.hutool.poi.PoiChecker;
import cn.hutool.poi.excel.cell.CellLocation;
import cn.hutool.poi.excel.sax.ExcelSaxReader;
import cn.hutool.poi.excel.sax.ExcelSaxUtil;
import cn.hutool.poi.excel.sax.handler.RowHandler;
import org.dromara.hutool.core.exceptions.DependencyException;
import org.dromara.hutool.core.io.file.FileUtil;
import org.dromara.hutool.core.io.IoUtil;
import org.dromara.hutool.core.util.ObjUtil;
import org.dromara.hutool.core.regex.ReUtil;
import org.dromara.hutool.core.text.StrUtil;
import org.dromara.hutool.poi.PoiChecker;
import org.dromara.hutool.poi.excel.cell.CellLocation;
import org.dromara.hutool.poi.excel.sax.ExcelSaxReader;
import org.dromara.hutool.poi.excel.sax.ExcelSaxUtil;
import org.dromara.hutool.poi.excel.sax.handler.RowHandler;
import java.io.File;
import java.io.InputStream;

View File

@@ -10,28 +10,28 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi.excel;
package org.dromara.hutool.poi.excel;
import cn.hutool.core.bean.BeanUtil;
import cn.hutool.core.collection.ListUtil;
import cn.hutool.core.comparator.IndexedComparator;
import cn.hutool.core.io.file.FileUtil;
import cn.hutool.core.io.IORuntimeException;
import cn.hutool.core.io.IoUtil;
import cn.hutool.core.lang.Assert;
import cn.hutool.core.lang.id.IdUtil;
import cn.hutool.core.map.MapUtil;
import cn.hutool.core.map.SafeConcurrentHashMap;
import cn.hutool.core.map.TableMap;
import cn.hutool.core.map.multi.RowKeyTable;
import cn.hutool.core.map.multi.Table;
import cn.hutool.core.net.url.URLEncoder;
import cn.hutool.core.text.StrUtil;
import cn.hutool.core.util.CharsetUtil;
import cn.hutool.poi.excel.cell.CellEditor;
import cn.hutool.poi.excel.cell.CellLocation;
import cn.hutool.poi.excel.cell.CellUtil;
import cn.hutool.poi.excel.style.Align;
import org.dromara.hutool.core.bean.BeanUtil;
import org.dromara.hutool.core.collection.ListUtil;
import org.dromara.hutool.core.comparator.IndexedComparator;
import org.dromara.hutool.core.io.file.FileUtil;
import org.dromara.hutool.core.io.IORuntimeException;
import org.dromara.hutool.core.io.IoUtil;
import org.dromara.hutool.core.lang.Assert;
import org.dromara.hutool.core.lang.id.IdUtil;
import org.dromara.hutool.core.map.MapUtil;
import org.dromara.hutool.core.map.SafeConcurrentHashMap;
import org.dromara.hutool.core.map.TableMap;
import org.dromara.hutool.core.map.multi.RowKeyTable;
import org.dromara.hutool.core.map.multi.Table;
import org.dromara.hutool.core.net.url.URLEncoder;
import org.dromara.hutool.core.text.StrUtil;
import org.dromara.hutool.core.util.CharsetUtil;
import org.dromara.hutool.poi.excel.cell.CellEditor;
import org.dromara.hutool.poi.excel.cell.CellLocation;
import org.dromara.hutool.poi.excel.cell.CellUtil;
import org.dromara.hutool.poi.excel.style.Align;
import org.apache.poi.common.usermodel.Hyperlink;
import org.apache.poi.ss.usermodel.Cell;
import org.apache.poi.ss.usermodel.CellStyle;
@@ -1209,7 +1209,7 @@ public class ExcelWriter extends ExcelBase<ExcelWriter> {
/**
* 对数据行整行加自定义样式 仅对数据单元格设置 write后调用
* <p>
* {@link cn.hutool.poi.excel.ExcelWriter#setRowStyle(int, org.apache.poi.ss.usermodel.CellStyle)}
* {@link ExcelWriter#setRowStyle(int, org.apache.poi.ss.usermodel.CellStyle)}
* 这个方法加的样式会使整行没有数据的单元格也有样式
* 特别是加背景色时很不美观 且有数据的单元格样式会被StyleSet中的样式覆盖掉
*
@@ -1245,7 +1245,7 @@ public class ExcelWriter extends ExcelBase<ExcelWriter> {
/**
* 设置整个列的样式 仅对数据单元格设置 write后调用
* <p>
* {@link cn.hutool.poi.excel.ExcelWriter#setColumnStyle(int, org.apache.poi.ss.usermodel.CellStyle)}
* {@link ExcelWriter#setColumnStyle(int, org.apache.poi.ss.usermodel.CellStyle)}
* 这个方法加的样式会使整列没有数据的单元格也有样式
* 特别是加背景色时很不美观 且有数据的单元格样式会被StyleSet中的样式覆盖掉
*

View File

@@ -10,12 +10,12 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi.excel;
package org.dromara.hutool.poi.excel;
import cn.hutool.core.collection.ListUtil;
import cn.hutool.core.text.StrUtil;
import cn.hutool.poi.excel.cell.CellEditor;
import cn.hutool.poi.excel.cell.CellUtil;
import org.dromara.hutool.core.collection.ListUtil;
import org.dromara.hutool.core.text.StrUtil;
import org.dromara.hutool.poi.excel.cell.CellEditor;
import org.dromara.hutool.poi.excel.cell.CellUtil;
import org.apache.poi.ss.usermodel.Cell;
import org.apache.poi.ss.usermodel.Row;
import org.apache.poi.ss.usermodel.Sheet;

View File

@@ -10,9 +10,9 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi.excel;
package org.dromara.hutool.poi.excel;
import cn.hutool.poi.excel.style.StyleUtil;
import org.dromara.hutool.poi.excel.style.StyleUtil;
import org.apache.poi.hssf.util.HSSFColor;
import org.apache.poi.ss.usermodel.BorderStyle;
import org.apache.poi.ss.usermodel.CellStyle;

View File

@@ -11,13 +11,13 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi.excel;
package org.dromara.hutool.poi.excel;
import cn.hutool.core.io.file.FileUtil;
import cn.hutool.core.io.IORuntimeException;
import cn.hutool.core.io.IoUtil;
import cn.hutool.core.text.StrUtil;
import cn.hutool.poi.exceptions.POIException;
import org.dromara.hutool.core.io.file.FileUtil;
import org.dromara.hutool.core.io.IORuntimeException;
import org.dromara.hutool.core.io.IoUtil;
import org.dromara.hutool.core.text.StrUtil;
import org.dromara.hutool.poi.exceptions.POIException;
import org.apache.poi.ss.usermodel.Sheet;
import org.apache.poi.ss.usermodel.Workbook;
import org.apache.poi.ss.usermodel.WorkbookFactory;

View File

@@ -10,7 +10,7 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi.excel.cell;
package org.dromara.hutool.poi.excel.cell;
import org.apache.poi.ss.usermodel.Cell;

View File

@@ -10,7 +10,7 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi.excel.cell;
package org.dromara.hutool.poi.excel.cell;
import java.io.Serializable;
import java.util.Objects;

View File

@@ -10,7 +10,7 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi.excel.cell;
package org.dromara.hutool.poi.excel.cell;
import org.apache.poi.ss.usermodel.Cell;

View File

@@ -10,16 +10,16 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi.excel.cell;
package org.dromara.hutool.poi.excel.cell;
import cn.hutool.core.text.StrUtil;
import cn.hutool.core.util.ObjUtil;
import cn.hutool.poi.excel.ExcelUtil;
import cn.hutool.poi.excel.StyleSet;
import cn.hutool.poi.excel.cell.editors.TrimEditor;
import cn.hutool.poi.excel.cell.setters.CellSetterFactory;
import cn.hutool.poi.excel.cell.values.ErrorCellValue;
import cn.hutool.poi.excel.cell.values.NumericCellValue;
import org.dromara.hutool.core.text.StrUtil;
import org.dromara.hutool.core.util.ObjUtil;
import org.dromara.hutool.poi.excel.ExcelUtil;
import org.dromara.hutool.poi.excel.StyleSet;
import org.dromara.hutool.poi.excel.cell.editors.TrimEditor;
import org.dromara.hutool.poi.excel.cell.setters.CellSetterFactory;
import org.dromara.hutool.poi.excel.cell.values.ErrorCellValue;
import org.dromara.hutool.poi.excel.cell.values.NumericCellValue;
import org.apache.poi.ss.usermodel.*;
import org.apache.poi.ss.util.CellRangeAddress;
import org.apache.poi.ss.util.RegionUtil;

View File

@@ -10,7 +10,7 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi.excel.cell;
package org.dromara.hutool.poi.excel.cell;
/**
* 抽象的单元格值接口用于判断不同类型的单元格值

View File

@@ -10,7 +10,7 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi.excel.cell;
package org.dromara.hutool.poi.excel.cell;
import org.apache.poi.ss.formula.FormulaParseException;
import org.apache.poi.ss.usermodel.Cell;

View File

@@ -10,11 +10,11 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi.excel.cell.editors;
package org.dromara.hutool.poi.excel.cell.editors;
import org.apache.poi.ss.usermodel.Cell;
import cn.hutool.poi.excel.cell.CellEditor;
import org.dromara.hutool.poi.excel.cell.CellEditor;
/**
* POI中NUMRIC类型的值默认返回的是Double类型此编辑器用于转换其为int型

View File

@@ -10,12 +10,12 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi.excel.cell.editors;
package org.dromara.hutool.poi.excel.cell.editors;
import org.apache.poi.ss.usermodel.Cell;
import cn.hutool.core.text.StrUtil;
import cn.hutool.poi.excel.cell.CellEditor;
import org.dromara.hutool.core.text.StrUtil;
import org.dromara.hutool.poi.excel.cell.CellEditor;
/**
* 去除String类型的单元格值两边的空格

View File

@@ -15,4 +15,4 @@
*
* @author looly
*/
package cn.hutool.poi.excel.cell.editors;
package org.dromara.hutool.poi.excel.cell.editors;

View File

@@ -15,4 +15,4 @@
* @author looly
*
*/
package cn.hutool.poi.excel.cell;
package org.dromara.hutool.poi.excel.cell;

View File

@@ -10,9 +10,9 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi.excel.cell.setters;
package org.dromara.hutool.poi.excel.cell.setters;
import cn.hutool.poi.excel.cell.CellSetter;
import org.dromara.hutool.poi.excel.cell.CellSetter;
import org.apache.poi.ss.usermodel.Cell;
/**

View File

@@ -10,9 +10,9 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi.excel.cell.setters;
package org.dromara.hutool.poi.excel.cell.setters;
import cn.hutool.poi.excel.cell.CellSetter;
import org.dromara.hutool.poi.excel.cell.CellSetter;
import org.apache.poi.ss.usermodel.Cell;
import java.util.Calendar;

View File

@@ -10,9 +10,9 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi.excel.cell.setters;
package org.dromara.hutool.poi.excel.cell.setters;
import cn.hutool.poi.excel.cell.CellSetter;
import org.dromara.hutool.poi.excel.cell.CellSetter;
import org.apache.poi.ss.usermodel.Hyperlink;
import org.apache.poi.ss.usermodel.RichTextString;

View File

@@ -10,9 +10,9 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi.excel.cell.setters;
package org.dromara.hutool.poi.excel.cell.setters;
import cn.hutool.poi.excel.cell.CellSetter;
import org.dromara.hutool.poi.excel.cell.CellSetter;
import org.apache.poi.ss.usermodel.Cell;
/**

View File

@@ -10,9 +10,9 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi.excel.cell.setters;
package org.dromara.hutool.poi.excel.cell.setters;
import cn.hutool.poi.excel.cell.CellSetter;
import org.dromara.hutool.poi.excel.cell.CellSetter;
import org.apache.poi.ss.usermodel.Cell;
import java.util.Date;

View File

@@ -10,10 +10,10 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi.excel.cell.setters;
package org.dromara.hutool.poi.excel.cell.setters;
import cn.hutool.core.regex.ReUtil;
import cn.hutool.core.text.StrUtil;
import org.dromara.hutool.core.regex.ReUtil;
import org.dromara.hutool.core.text.StrUtil;
import java.util.regex.Pattern;

View File

@@ -10,9 +10,9 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi.excel.cell.setters;
package org.dromara.hutool.poi.excel.cell.setters;
import cn.hutool.poi.excel.cell.CellSetter;
import org.dromara.hutool.poi.excel.cell.CellSetter;
import org.apache.poi.ss.usermodel.Cell;
import org.apache.poi.ss.usermodel.Hyperlink;

View File

@@ -10,10 +10,10 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi.excel.cell.setters;
package org.dromara.hutool.poi.excel.cell.setters;
import cn.hutool.core.text.StrUtil;
import cn.hutool.poi.excel.cell.CellSetter;
import org.dromara.hutool.core.text.StrUtil;
import org.dromara.hutool.poi.excel.cell.CellSetter;
import org.apache.poi.ss.usermodel.Cell;
/**

View File

@@ -10,10 +10,10 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi.excel.cell.setters;
package org.dromara.hutool.poi.excel.cell.setters;
import cn.hutool.core.math.NumberUtil;
import cn.hutool.poi.excel.cell.CellSetter;
import org.dromara.hutool.core.math.NumberUtil;
import org.dromara.hutool.poi.excel.cell.CellSetter;
import org.apache.poi.ss.usermodel.Cell;
/**

View File

@@ -10,9 +10,9 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi.excel.cell.setters;
package org.dromara.hutool.poi.excel.cell.setters;
import cn.hutool.poi.excel.cell.CellSetter;
import org.dromara.hutool.poi.excel.cell.CellSetter;
import org.apache.poi.ss.usermodel.Cell;
import org.apache.poi.ss.usermodel.RichTextString;

View File

@@ -10,9 +10,9 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi.excel.cell.setters;
package org.dromara.hutool.poi.excel.cell.setters;
import cn.hutool.poi.excel.cell.CellSetter;
import org.dromara.hutool.poi.excel.cell.CellSetter;
import org.apache.poi.ss.usermodel.Cell;
import java.time.Instant;

View File

@@ -15,4 +15,4 @@
*
* @author looly
*/
package cn.hutool.poi.excel.cell.setters;
package org.dromara.hutool.poi.excel.cell.setters;

View File

@@ -10,10 +10,10 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi.excel.cell.values;
package org.dromara.hutool.poi.excel.cell.values;
import cn.hutool.core.text.StrUtil;
import cn.hutool.poi.excel.cell.CellValue;
import org.dromara.hutool.core.text.StrUtil;
import org.dromara.hutool.poi.excel.cell.CellValue;
import org.apache.poi.ss.usermodel.Cell;
import org.apache.poi.ss.usermodel.FormulaError;

View File

@@ -10,10 +10,10 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi.excel.cell.values;
package org.dromara.hutool.poi.excel.cell.values;
import cn.hutool.poi.excel.cell.CellSetter;
import cn.hutool.poi.excel.cell.CellValue;
import org.dromara.hutool.poi.excel.cell.CellSetter;
import org.dromara.hutool.poi.excel.cell.CellValue;
import org.apache.poi.ss.usermodel.Cell;
/**

View File

@@ -10,11 +10,11 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi.excel.cell.values;
package org.dromara.hutool.poi.excel.cell.values;
import cn.hutool.core.util.CharUtil;
import cn.hutool.poi.excel.ExcelDateUtil;
import cn.hutool.poi.excel.cell.CellValue;
import org.dromara.hutool.core.util.CharUtil;
import org.dromara.hutool.poi.excel.ExcelDateUtil;
import org.dromara.hutool.poi.excel.cell.CellValue;
import org.apache.poi.ss.usermodel.Cell;
import org.apache.poi.ss.usermodel.CellStyle;
import org.apache.poi.ss.util.NumberToTextConverter;

View File

@@ -15,4 +15,4 @@
*
* @author looly
*/
package cn.hutool.poi.excel.cell.values;
package org.dromara.hutool.poi.excel.cell.values;

View File

@@ -16,4 +16,4 @@
* @author looly
*
*/
package cn.hutool.poi.excel;
package org.dromara.hutool.poi.excel;

View File

@@ -10,13 +10,13 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi.excel.reader;
package org.dromara.hutool.poi.excel.reader;
import cn.hutool.core.collection.CollUtil;
import cn.hutool.core.util.ObjUtil;
import cn.hutool.poi.excel.ExcelUtil;
import cn.hutool.poi.excel.RowUtil;
import cn.hutool.poi.excel.cell.CellEditor;
import org.dromara.hutool.core.collection.CollUtil;
import org.dromara.hutool.core.util.ObjUtil;
import org.dromara.hutool.poi.excel.ExcelUtil;
import org.dromara.hutool.poi.excel.RowUtil;
import org.dromara.hutool.poi.excel.cell.CellEditor;
import org.apache.poi.ss.usermodel.Sheet;
import java.util.ArrayList;

View File

@@ -10,11 +10,11 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi.excel.reader;
package org.dromara.hutool.poi.excel.reader;
import cn.hutool.core.bean.BeanUtil;
import cn.hutool.core.bean.copier.CopyOptions;
import cn.hutool.poi.excel.cell.CellEditor;
import org.dromara.hutool.core.bean.BeanUtil;
import org.dromara.hutool.core.bean.copier.CopyOptions;
import org.dromara.hutool.poi.excel.cell.CellEditor;
import org.apache.poi.ss.usermodel.Sheet;
import java.util.ArrayList;

View File

@@ -10,9 +10,9 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi.excel.reader;
package org.dromara.hutool.poi.excel.reader;
import cn.hutool.poi.excel.cell.CellUtil;
import org.dromara.hutool.poi.excel.cell.CellUtil;
import org.apache.poi.ss.usermodel.Sheet;
import java.util.ArrayList;

View File

@@ -10,10 +10,10 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi.excel.reader;
package org.dromara.hutool.poi.excel.reader;
import cn.hutool.core.collection.CollUtil;
import cn.hutool.core.convert.Convert;
import org.dromara.hutool.core.collection.CollUtil;
import org.dromara.hutool.core.convert.Convert;
import org.apache.poi.ss.usermodel.Sheet;
import java.util.ArrayList;

View File

@@ -10,12 +10,12 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi.excel.reader;
package org.dromara.hutool.poi.excel.reader;
import cn.hutool.core.collection.CollUtil;
import cn.hutool.core.collection.iter.IterUtil;
import cn.hutool.core.collection.ListUtil;
import cn.hutool.core.text.StrUtil;
import org.dromara.hutool.core.collection.CollUtil;
import org.dromara.hutool.core.collection.iter.IterUtil;
import org.dromara.hutool.core.collection.ListUtil;
import org.dromara.hutool.core.text.StrUtil;
import org.apache.poi.ss.usermodel.Sheet;
import java.util.ArrayList;

View File

@@ -10,7 +10,7 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi.excel.reader;
package org.dromara.hutool.poi.excel.reader;
import org.apache.poi.ss.usermodel.Sheet;

View File

@@ -16,4 +16,4 @@
* @author looly
*
*/
package cn.hutool.poi.excel.reader;
package org.dromara.hutool.poi.excel.reader;

View File

@@ -10,7 +10,7 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi.excel.sax;
package org.dromara.hutool.poi.excel.sax;
import org.xml.sax.Attributes;

View File

@@ -10,7 +10,7 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi.excel.sax;
package org.dromara.hutool.poi.excel.sax;
/**
* 单元格数据类型枚举

View File

@@ -10,7 +10,7 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi.excel.sax;
package org.dromara.hutool.poi.excel.sax;
/**
* 标签名枚举

View File

@@ -10,14 +10,14 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi.excel.sax;
package org.dromara.hutool.poi.excel.sax;
import cn.hutool.core.io.IoUtil;
import cn.hutool.core.lang.Assert;
import cn.hutool.core.util.ObjUtil;
import cn.hutool.core.text.StrUtil;
import cn.hutool.poi.excel.sax.handler.RowHandler;
import cn.hutool.poi.exceptions.POIException;
import org.dromara.hutool.core.io.IoUtil;
import org.dromara.hutool.core.lang.Assert;
import org.dromara.hutool.core.util.ObjUtil;
import org.dromara.hutool.core.text.StrUtil;
import org.dromara.hutool.poi.excel.sax.handler.RowHandler;
import org.dromara.hutool.poi.exceptions.POIException;
import org.apache.poi.hssf.eventusermodel.EventWorkbookBuilder.SheetRecordCollectingListener;
import org.apache.poi.hssf.eventusermodel.FormatTrackingHSSFListener;
import org.apache.poi.hssf.eventusermodel.HSSFEventFactory;

View File

@@ -10,15 +10,15 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi.excel.sax;
package org.dromara.hutool.poi.excel.sax;
import cn.hutool.core.io.IORuntimeException;
import cn.hutool.core.io.IoUtil;
import cn.hutool.core.reflect.MethodUtil;
import cn.hutool.core.text.StrUtil;
import cn.hutool.core.util.ObjUtil;
import cn.hutool.poi.excel.sax.handler.RowHandler;
import cn.hutool.poi.exceptions.POIException;
import org.dromara.hutool.core.io.IORuntimeException;
import org.dromara.hutool.core.io.IoUtil;
import org.dromara.hutool.core.reflect.MethodUtil;
import org.dromara.hutool.core.text.StrUtil;
import org.dromara.hutool.core.util.ObjUtil;
import org.dromara.hutool.poi.excel.sax.handler.RowHandler;
import org.dromara.hutool.poi.exceptions.POIException;
import org.apache.poi.openxml4j.exceptions.InvalidFormatException;
import org.apache.poi.openxml4j.exceptions.OpenXML4JException;
import org.apache.poi.openxml4j.opc.OPCPackage;

View File

@@ -10,10 +10,10 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi.excel.sax;
package org.dromara.hutool.poi.excel.sax;
import cn.hutool.core.io.file.FileUtil;
import cn.hutool.poi.exceptions.POIException;
import org.dromara.hutool.core.io.file.FileUtil;
import org.dromara.hutool.poi.exceptions.POIException;
import java.io.File;
import java.io.InputStream;

View File

@@ -10,18 +10,18 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi.excel.sax;
package org.dromara.hutool.poi.excel.sax;
import cn.hutool.core.date.DateTime;
import cn.hutool.core.date.DateUtil;
import cn.hutool.core.exceptions.DependencyException;
import cn.hutool.core.io.IORuntimeException;
import cn.hutool.core.util.CharUtil;
import cn.hutool.core.text.StrUtil;
import cn.hutool.core.util.ObjUtil;
import cn.hutool.poi.excel.ExcelDateUtil;
import cn.hutool.poi.excel.sax.handler.RowHandler;
import cn.hutool.poi.exceptions.POIException;
import org.dromara.hutool.core.date.DateTime;
import org.dromara.hutool.core.date.DateUtil;
import org.dromara.hutool.core.exceptions.DependencyException;
import org.dromara.hutool.core.io.IORuntimeException;
import org.dromara.hutool.core.util.CharUtil;
import org.dromara.hutool.core.text.StrUtil;
import org.dromara.hutool.core.util.ObjUtil;
import org.dromara.hutool.poi.excel.ExcelDateUtil;
import org.dromara.hutool.poi.excel.sax.handler.RowHandler;
import org.dromara.hutool.poi.exceptions.POIException;
import org.apache.poi.hssf.eventusermodel.FormatTrackingHSSFListener;
import org.apache.poi.hssf.record.CellValueRecordInterface;
import org.apache.poi.ss.usermodel.DataFormatter;

View File

@@ -10,12 +10,12 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi.excel.sax;
package org.dromara.hutool.poi.excel.sax;
import cn.hutool.core.text.StrUtil;
import cn.hutool.core.util.ObjUtil;
import cn.hutool.poi.excel.cell.values.FormulaCellValue;
import cn.hutool.poi.excel.sax.handler.RowHandler;
import org.dromara.hutool.core.text.StrUtil;
import org.dromara.hutool.core.util.ObjUtil;
import org.dromara.hutool.poi.excel.cell.values.FormulaCellValue;
import org.dromara.hutool.poi.excel.sax.handler.RowHandler;
import org.apache.poi.ss.usermodel.BuiltinFormats;
import org.apache.poi.xssf.model.SharedStrings;
import org.apache.poi.xssf.model.StylesTable;

View File

@@ -10,14 +10,14 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi.excel.sax;
package org.dromara.hutool.poi.excel.sax;
import cn.hutool.core.collection.CollUtil;
import cn.hutool.core.collection.ListUtil;
import cn.hutool.core.io.IORuntimeException;
import cn.hutool.core.io.IoUtil;
import cn.hutool.core.text.StrUtil;
import cn.hutool.poi.exceptions.POIException;
import org.dromara.hutool.core.collection.CollUtil;
import org.dromara.hutool.core.collection.ListUtil;
import org.dromara.hutool.core.io.IORuntimeException;
import org.dromara.hutool.core.io.IoUtil;
import org.dromara.hutool.core.text.StrUtil;
import org.dromara.hutool.poi.exceptions.POIException;
import org.apache.poi.openxml4j.exceptions.InvalidFormatException;
import org.apache.poi.xssf.eventusermodel.XSSFReader;
import org.xml.sax.Attributes;

View File

@@ -10,9 +10,9 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi.excel.sax.handler;
package org.dromara.hutool.poi.excel.sax.handler;
import cn.hutool.core.lang.Assert;
import org.dromara.hutool.core.lang.Assert;
import java.util.List;
import java.util.function.Function;

View File

@@ -10,13 +10,13 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi.excel.sax.handler;
package org.dromara.hutool.poi.excel.sax.handler;
import cn.hutool.core.bean.BeanUtil;
import cn.hutool.core.collection.iter.IterUtil;
import cn.hutool.core.collection.ListUtil;
import cn.hutool.core.convert.Convert;
import cn.hutool.core.lang.Assert;
import org.dromara.hutool.core.bean.BeanUtil;
import org.dromara.hutool.core.collection.iter.IterUtil;
import org.dromara.hutool.core.collection.ListUtil;
import org.dromara.hutool.core.convert.Convert;
import org.dromara.hutool.core.lang.Assert;
import java.util.List;

View File

@@ -10,11 +10,11 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi.excel.sax.handler;
package org.dromara.hutool.poi.excel.sax.handler;
import cn.hutool.core.collection.iter.IterUtil;
import cn.hutool.core.collection.ListUtil;
import cn.hutool.core.convert.Convert;
import org.dromara.hutool.core.collection.iter.IterUtil;
import org.dromara.hutool.core.collection.ListUtil;
import org.dromara.hutool.core.convert.Convert;
import java.util.List;
import java.util.Map;

View File

@@ -10,7 +10,7 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi.excel.sax.handler;
package org.dromara.hutool.poi.excel.sax.handler;
import org.apache.poi.ss.usermodel.CellStyle;

View File

@@ -16,4 +16,4 @@
* @author looly
*
*/
package cn.hutool.poi.excel.sax.handler;
package org.dromara.hutool.poi.excel.sax.handler;

View File

@@ -16,4 +16,4 @@
* @author looly
*
*/
package cn.hutool.poi.excel.sax;
package org.dromara.hutool.poi.excel.sax;

View File

@@ -10,7 +10,7 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi.excel.style;
package org.dromara.hutool.poi.excel.style;
/**
* 对齐方式枚举

View File

@@ -10,9 +10,9 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi.excel.style;
package org.dromara.hutool.poi.excel.style;
import cn.hutool.core.text.StrUtil;
import org.dromara.hutool.core.text.StrUtil;
import org.apache.poi.ss.usermodel.BorderStyle;
import org.apache.poi.ss.usermodel.Cell;
import org.apache.poi.ss.usermodel.CellStyle;

View File

@@ -16,4 +16,4 @@
* @author looly
*
*/
package cn.hutool.poi.excel.style;
package org.dromara.hutool.poi.excel.style;

View File

@@ -10,10 +10,10 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi.exceptions;
package org.dromara.hutool.poi.exceptions;
import cn.hutool.core.exceptions.ExceptionUtil;
import cn.hutool.core.text.StrUtil;
import org.dromara.hutool.core.exceptions.ExceptionUtil;
import org.dromara.hutool.core.text.StrUtil;
/**
* POI异常

View File

@@ -16,4 +16,4 @@
* @author looly
*
*/
package cn.hutool.poi.exceptions;
package org.dromara.hutool.poi.exceptions;

View File

@@ -10,11 +10,11 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi.ofd;
package org.dromara.hutool.poi.ofd;
import cn.hutool.core.io.IORuntimeException;
import cn.hutool.core.io.IoUtil;
import cn.hutool.core.io.file.PathUtil;
import org.dromara.hutool.core.io.IORuntimeException;
import org.dromara.hutool.core.io.IoUtil;
import org.dromara.hutool.core.io.file.PathUtil;
import org.ofdrw.font.Font;
import org.ofdrw.layout.OFDDoc;
import org.ofdrw.layout.edit.Annotation;

View File

@@ -15,4 +15,4 @@
*
* @author looly
*/
package cn.hutool.poi.ofd;
package org.dromara.hutool.poi.ofd;

View File

@@ -18,4 +18,4 @@
* @author looly
*
*/
package cn.hutool.poi;
package org.dromara.hutool.poi;

View File

@@ -10,11 +10,11 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi.word;
package org.dromara.hutool.poi.word;
import cn.hutool.core.io.file.FileUtil;
import cn.hutool.core.io.IORuntimeException;
import cn.hutool.poi.exceptions.POIException;
import org.dromara.hutool.core.io.file.FileUtil;
import org.dromara.hutool.core.io.IORuntimeException;
import org.dromara.hutool.poi.exceptions.POIException;
import org.apache.poi.openxml4j.exceptions.InvalidFormatException;
import org.apache.poi.openxml4j.opc.OPCPackage;
import org.apache.poi.xwpf.usermodel.XWPFDocument;

View File

@@ -10,7 +10,7 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi.word;
package org.dromara.hutool.poi.word;
import org.apache.poi.xwpf.usermodel.Document;

View File

@@ -10,14 +10,14 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi.word;
package org.dromara.hutool.poi.word;
import cn.hutool.core.bean.BeanUtil;
import cn.hutool.core.collection.ListUtil;
import cn.hutool.core.collection.iter.IterUtil;
import cn.hutool.core.convert.Convert;
import cn.hutool.core.lang.Assert;
import cn.hutool.core.map.MapUtil;
import org.dromara.hutool.core.bean.BeanUtil;
import org.dromara.hutool.core.collection.ListUtil;
import org.dromara.hutool.core.collection.iter.IterUtil;
import org.dromara.hutool.core.convert.Convert;
import org.dromara.hutool.core.lang.Assert;
import org.dromara.hutool.core.map.MapUtil;
import org.apache.poi.xwpf.usermodel.XWPFDocument;
import org.apache.poi.xwpf.usermodel.XWPFTable;
import org.apache.poi.xwpf.usermodel.XWPFTableCell;

View File

@@ -10,15 +10,15 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi.word;
package org.dromara.hutool.poi.word;
import cn.hutool.core.io.file.FileUtil;
import cn.hutool.core.io.IORuntimeException;
import cn.hutool.core.io.IoUtil;
import cn.hutool.core.io.file.FileNameUtil;
import cn.hutool.core.lang.Assert;
import cn.hutool.core.array.ArrayUtil;
import cn.hutool.poi.exceptions.POIException;
import org.dromara.hutool.core.io.file.FileUtil;
import org.dromara.hutool.core.io.IORuntimeException;
import org.dromara.hutool.core.io.IoUtil;
import org.dromara.hutool.core.io.file.FileNameUtil;
import org.dromara.hutool.core.lang.Assert;
import org.dromara.hutool.core.array.ArrayUtil;
import org.dromara.hutool.poi.exceptions.POIException;
import org.apache.poi.openxml4j.exceptions.InvalidFormatException;
import org.apache.poi.util.Units;
import org.apache.poi.xwpf.usermodel.ParagraphAlignment;

View File

@@ -10,7 +10,7 @@
* See the Mulan PSL v2 for more details.
*/
package cn.hutool.poi.word;
package org.dromara.hutool.poi.word;
import java.io.File;

View File

@@ -16,4 +16,4 @@
* @author looly
*
*/
package cn.hutool.poi.word;
package org.dromara.hutool.poi.word;

View File

@@ -1,7 +1,7 @@
package cn.hutool.poi.csv;
package org.dromara.hutool.poi.csv;
import cn.hutool.core.io.IoUtil;
import cn.hutool.core.text.StrUtil;
import org.dromara.hutool.core.io.IoUtil;
import org.dromara.hutool.core.text.StrUtil;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;

View File

@@ -1,11 +1,11 @@
package cn.hutool.poi.csv;
package org.dromara.hutool.poi.csv;
import cn.hutool.core.annotation.Alias;
import cn.hutool.core.collection.CollUtil;
import cn.hutool.core.io.file.FileUtil;
import cn.hutool.core.io.resource.ResourceUtil;
import cn.hutool.core.lang.Console;
import cn.hutool.core.util.CharsetUtil;
import org.dromara.hutool.core.annotation.Alias;
import org.dromara.hutool.core.collection.CollUtil;
import org.dromara.hutool.core.io.file.FileUtil;
import org.dromara.hutool.core.io.resource.ResourceUtil;
import org.dromara.hutool.core.lang.Console;
import org.dromara.hutool.core.util.CharsetUtil;
import lombok.Data;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;

View File

@@ -1,10 +1,10 @@
package cn.hutool.poi.csv;
package org.dromara.hutool.poi.csv;
import cn.hutool.core.bean.BeanUtil;
import cn.hutool.core.collection.ListUtil;
import cn.hutool.core.io.file.FileUtil;
import cn.hutool.core.lang.Console;
import cn.hutool.core.util.CharsetUtil;
import org.dromara.hutool.core.bean.BeanUtil;
import org.dromara.hutool.core.collection.ListUtil;
import org.dromara.hutool.core.io.file.FileUtil;
import org.dromara.hutool.core.lang.Console;
import org.dromara.hutool.core.util.CharsetUtil;
import lombok.AllArgsConstructor;
import lombok.Data;
import org.junit.jupiter.api.Assertions;

View File

@@ -1,8 +1,8 @@
package cn.hutool.poi.csv;
package org.dromara.hutool.poi.csv;
import cn.hutool.core.io.file.FileUtil;
import cn.hutool.core.lang.Console;
import cn.hutool.core.util.CharsetUtil;
import org.dromara.hutool.core.io.file.FileUtil;
import org.dromara.hutool.core.lang.Console;
import org.dromara.hutool.core.util.CharsetUtil;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;

View File

@@ -1,8 +1,8 @@
package cn.hutool.poi.csv;
package org.dromara.hutool.poi.csv;
import cn.hutool.core.io.file.FileUtil;
import cn.hutool.core.lang.func.SerConsumer;
import cn.hutool.core.util.CharsetUtil;
import org.dromara.hutool.core.io.file.FileUtil;
import org.dromara.hutool.core.lang.func.SerConsumer;
import org.dromara.hutool.core.util.CharsetUtil;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;

View File

@@ -1,11 +1,11 @@
package cn.hutool.poi.excel;
package org.dromara.hutool.poi.excel;
import cn.hutool.core.collection.ListUtil;
import cn.hutool.core.date.DateUtil;
import cn.hutool.core.io.file.FileUtil;
import cn.hutool.core.map.MapUtil;
import cn.hutool.core.util.ObjUtil;
import cn.hutool.poi.excel.style.StyleUtil;
import org.dromara.hutool.core.collection.ListUtil;
import org.dromara.hutool.core.date.DateUtil;
import org.dromara.hutool.core.io.file.FileUtil;
import org.dromara.hutool.core.map.MapUtil;
import org.dromara.hutool.core.util.ObjUtil;
import org.dromara.hutool.poi.excel.style.StyleUtil;
import org.apache.poi.ss.usermodel.CellStyle;
import org.apache.poi.ss.usermodel.FillPatternType;
import org.apache.poi.ss.usermodel.Font;
@@ -155,21 +155,21 @@ public class BigExcelWriteTest {
@Test
@Disabled
public void writeBeanTest() {
final cn.hutool.poi.excel.TestBean bean1 = new cn.hutool.poi.excel.TestBean();
final TestBean bean1 = new TestBean();
bean1.setName("张三");
bean1.setAge(22);
bean1.setPass(true);
bean1.setScore(66.30);
bean1.setExamDate(DateUtil.now());
final cn.hutool.poi.excel.TestBean bean2 = new cn.hutool.poi.excel.TestBean();
final TestBean bean2 = new TestBean();
bean2.setName("李四");
bean2.setAge(28);
bean2.setPass(false);
bean2.setScore(38.50);
bean2.setExamDate(DateUtil.now());
final List<cn.hutool.poi.excel.TestBean> rows = ListUtil.of(bean1, bean2);
final List<TestBean> rows = ListUtil.of(bean1, bean2);
// 通过工具类创建writer
final String file = "e:/bigWriteBeanTest.xlsx";
FileUtil.del(FileUtil.file(file));

View File

@@ -1,6 +1,6 @@
package cn.hutool.poi.excel;
package org.dromara.hutool.poi.excel;
import cn.hutool.poi.excel.cell.CellEditor;
import org.dromara.hutool.poi.excel.cell.CellEditor;
import lombok.AllArgsConstructor;
import lombok.Data;
import org.apache.poi.ss.usermodel.Cell;

View File

@@ -1,6 +1,6 @@
package cn.hutool.poi.excel;
package org.dromara.hutool.poi.excel;
import cn.hutool.core.lang.Console;
import org.dromara.hutool.core.lang.Console;
import org.apache.poi.ss.usermodel.BuiltinFormats;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;

View File

@@ -1,7 +1,7 @@
package cn.hutool.poi.excel;
package org.dromara.hutool.poi.excel;
import cn.hutool.core.io.file.FileUtil;
import cn.hutool.core.io.IoUtil;
import org.dromara.hutool.core.io.file.FileUtil;
import org.dromara.hutool.core.io.IoUtil;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;

View File

@@ -1,10 +1,10 @@
package cn.hutool.poi.excel;
package org.dromara.hutool.poi.excel;
import cn.hutool.core.io.resource.ResourceUtil;
import cn.hutool.core.lang.Console;
import cn.hutool.core.lang.func.SerBiConsumer;
import cn.hutool.core.map.MapUtil;
import cn.hutool.core.util.ObjUtil;
import org.dromara.hutool.core.io.resource.ResourceUtil;
import org.dromara.hutool.core.lang.Console;
import org.dromara.hutool.core.lang.func.SerBiConsumer;
import org.dromara.hutool.core.map.MapUtil;
import org.dromara.hutool.core.util.ObjUtil;
import lombok.Data;
import org.apache.poi.ss.usermodel.Cell;
import org.junit.jupiter.api.Assertions;

View File

@@ -1,15 +1,15 @@
package cn.hutool.poi.excel;
package org.dromara.hutool.poi.excel;
import cn.hutool.core.collection.CollUtil;
import cn.hutool.core.convert.Convert;
import cn.hutool.core.io.IoUtil;
import cn.hutool.core.io.file.FileUtil;
import cn.hutool.core.lang.Console;
import cn.hutool.core.text.StrUtil;
import cn.hutool.poi.excel.cell.values.FormulaCellValue;
import cn.hutool.poi.excel.sax.Excel03SaxReader;
import cn.hutool.poi.excel.sax.handler.RowHandler;
import cn.hutool.poi.exceptions.POIException;
import org.dromara.hutool.core.collection.CollUtil;
import org.dromara.hutool.core.convert.Convert;
import org.dromara.hutool.core.io.IoUtil;
import org.dromara.hutool.core.io.file.FileUtil;
import org.dromara.hutool.core.lang.Console;
import org.dromara.hutool.core.text.StrUtil;
import org.dromara.hutool.poi.excel.cell.values.FormulaCellValue;
import org.dromara.hutool.poi.excel.sax.Excel03SaxReader;
import org.dromara.hutool.poi.excel.sax.handler.RowHandler;
import org.dromara.hutool.poi.exceptions.POIException;
import org.apache.poi.ss.usermodel.CellStyle;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;

View File

@@ -1,6 +1,6 @@
package cn.hutool.poi.excel;
package org.dromara.hutool.poi.excel;
import cn.hutool.poi.excel.cell.CellLocation;
import org.dromara.hutool.poi.excel.cell.CellLocation;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;

View File

@@ -1,15 +1,15 @@
package cn.hutool.poi.excel;
package org.dromara.hutool.poi.excel;
import cn.hutool.core.collection.ListUtil;
import cn.hutool.core.date.DateUtil;
import cn.hutool.core.io.file.FileUtil;
import cn.hutool.core.lang.Console;
import cn.hutool.core.lang.id.IdUtil;
import cn.hutool.core.map.MapUtil;
import cn.hutool.core.util.CharsetUtil;
import cn.hutool.core.util.ObjUtil;
import cn.hutool.poi.excel.cell.setters.EscapeStrCellSetter;
import cn.hutool.poi.excel.style.StyleUtil;
import org.dromara.hutool.core.collection.ListUtil;
import org.dromara.hutool.core.date.DateUtil;
import org.dromara.hutool.core.io.file.FileUtil;
import org.dromara.hutool.core.lang.Console;
import org.dromara.hutool.core.lang.id.IdUtil;
import org.dromara.hutool.core.map.MapUtil;
import org.dromara.hutool.core.util.CharsetUtil;
import org.dromara.hutool.core.util.ObjUtil;
import org.dromara.hutool.poi.excel.cell.setters.EscapeStrCellSetter;
import org.dromara.hutool.poi.excel.style.StyleUtil;
import org.apache.poi.common.usermodel.HyperlinkType;
import org.apache.poi.ss.usermodel.*;
import org.apache.poi.ss.util.CellRangeAddressList;
@@ -428,21 +428,21 @@ public class ExcelWriteTest {
@Test
@Disabled
public void writeBeanTest() {
final cn.hutool.poi.excel.TestBean bean1 = new cn.hutool.poi.excel.TestBean();
final TestBean bean1 = new TestBean();
bean1.setName("张三");
bean1.setAge(22);
bean1.setPass(true);
bean1.setScore(66.30);
bean1.setExamDate(DateUtil.now());
final cn.hutool.poi.excel.TestBean bean2 = new cn.hutool.poi.excel.TestBean();
final TestBean bean2 = new TestBean();
bean2.setName("李四");
bean2.setAge(28);
bean2.setPass(false);
bean2.setScore(38.50);
bean2.setExamDate(DateUtil.now());
final List<cn.hutool.poi.excel.TestBean> rows = ListUtil.of(bean1, bean2);
final List<TestBean> rows = ListUtil.of(bean1, bean2);
// 通过工具类创建writer
final String file = "e:/writeBeanTest.xlsx";
FileUtil.del(FileUtil.file(file));
@@ -464,17 +464,17 @@ public class ExcelWriteTest {
@Test
@Disabled
public void writeBeanTest2() {
final cn.hutool.poi.excel.OrderExcel order1 = new cn.hutool.poi.excel.OrderExcel();
final OrderExcel order1 = new OrderExcel();
order1.setId("1");
order1.setNum("123");
order1.setBody("body1");
final cn.hutool.poi.excel.OrderExcel order2 = new cn.hutool.poi.excel.OrderExcel();
final OrderExcel order2 = new OrderExcel();
order1.setId("2");
order1.setNum("456");
order1.setBody("body2");
final List<cn.hutool.poi.excel.OrderExcel> rows = ListUtil.of(order1, order2);
final List<OrderExcel> rows = ListUtil.of(order1, order2);
// 通过工具类创建writer
final String file = "f:/test/writeBeanTest2.xlsx";
FileUtil.del(FileUtil.file(file));

Some files were not shown because too many files have changed in this diff Show More