Skip navigation links
A B C D E F G H I L M N O P R S T V W X 

A

AbstractRowHandler<T> - Class in org.dromara.hutool.poi.excel.sax.handler
抽象行数据处理器,通过实现AbstractRowHandler.handle(int, long, List) 处理原始数据
并调用AbstractRowHandler.handleData(int, long, Object)处理经过转换后的数据。
AbstractRowHandler(int, int) - Constructor for class org.dromara.hutool.poi.excel.sax.handler.AbstractRowHandler
构造
AbstractSheetReader<T> - Class in org.dromara.hutool.poi.excel.reader.sheet
抽象Sheet数据读取实现
AbstractSheetReader(int, int) - Constructor for class org.dromara.hutool.poi.excel.reader.sheet.AbstractSheetReader
构造
AbstractSheetReader(CellRangeAddress) - Constructor for class org.dromara.hutool.poi.excel.reader.sheet.AbstractSheetReader
构造
add(Div) - Method in class org.dromara.hutool.poi.ofd.OfdWriter
增加节点
add(int, Annotation) - Method in class org.dromara.hutool.poi.ofd.OfdWriter
增加注释,比如水印等
addChild(String) - Method in class org.dromara.hutool.poi.excel.RowGroup
添加指定名臣的子分组,最终分组
addChild(RowGroup) - Method in class org.dromara.hutool.poi.excel.RowGroup
添加子分组
addHeaderAlias(String, String) - Method in class org.dromara.hutool.poi.csv.CsvConfig
增加标题别名
addHeaderAlias(String, String) - Method in class org.dromara.hutool.poi.excel.ExcelConfig
增加标题别名
addHeaderAlias(String, String) - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriteConfig
 
addIgnoredErrors(Sheet, CellRangeAddress, IgnoredErrorType...) - Static method in class org.dromara.hutool.poi.excel.SheetUtil
设置忽略错误,即Excel中的绿色警告小标,只支持XSSFSheet和SXSSFSheet
见:https://stackoverflow.com/questions/23488221/how-to-remove-warning-in-excel-using-apache-poi-in-java
addIgnoredErrors(CellRangeAddress, IgnoredErrorType...) - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriter
设置忽略错误,即Excel中的绿色警告小标,只支持XSSFSheet和SXSSFSheet
见:https://stackoverflow.com/questions/23488221/how-to-remove-warning-in-excel-using-apache-poi-in-java
addPicture(File, int, int) - Method in class org.dromara.hutool.poi.ofd.OfdWriter
追加图片
addPicture(Path, int, int) - Method in class org.dromara.hutool.poi.ofd.OfdWriter
追加图片
addPicture(File, int, int) - Method in class org.dromara.hutool.poi.word.Word07Writer
增加图片,单独成段落
addPicture(InputStream, PictureType, String, int, int) - Method in class org.dromara.hutool.poi.word.Word07Writer
增加图片,单独成段落,增加后图片流关闭,默认居中对齐
addPicture(InputStream, PictureType, String, int, int, ParagraphAlignment) - Method in class org.dromara.hutool.poi.word.Word07Writer
增加图片,单独成段落,增加后图片流关闭
addPictures(int, int, File...) - Method in class org.dromara.hutool.poi.word.Word07Writer
增加多张图片,单独成段落,增加后图片流关闭
addSelect(Sheet, CellRangeAddressList, String...) - Static method in class org.dromara.hutool.poi.excel.writer.DataValidationUtil
增加下拉列表
addSelect(int, int, String...) - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriter
增加下拉列表
addSelect(CellRangeAddressList, String...) - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriter
增加下拉列表
addTable(Iterable<?>) - Method in class org.dromara.hutool.poi.word.Word07Writer
增加表格数据
addText(Font, String...) - Method in class org.dromara.hutool.poi.ofd.OfdWriter
增加文本内容
addText(Font, String...) - Method in class org.dromara.hutool.poi.word.Word07Writer
增加一个段落
addText(ParagraphAlignment, Font, String...) - Method in class org.dromara.hutool.poi.word.Word07Writer
增加一个段落
addValidationData(DataValidation) - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriter
增加单元格控制,比如下拉列表、日期验证、数字范围验证等
aliasComparator - Variable in class org.dromara.hutool.poi.excel.writer.ExcelWriteConfig
标题顺序比较器
aliasHeader(List<Object>) - Method in class org.dromara.hutool.poi.excel.ExcelConfig
转换标题别名,如果没有别名则使用原标题,当标题为空时,列号对应的字母便是header
aliasHeader(Object, int) - Method in class org.dromara.hutool.poi.excel.ExcelConfig
转换标题别名,如果没有别名则使用原标题,当标题为空时,列号对应的字母便是header
aliasTable(Map<?, ?>) - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriteConfig
为指定的key列表添加标题别名,如果没有定义key的别名,在onlyAlias为false时使用原key
key为别名,value为字段值
Align - Enum in org.dromara.hutool.poi.excel.style
对齐方式枚举
alwaysDelimitText - Variable in class org.dromara.hutool.poi.csv.CsvWriteConfig
是否始终使用文本分隔符,文本包装符,默认false,按需添加
AttributeName - Enum in org.dromara.hutool.poi.excel.sax
Excel的XML中属性名枚举
autoSizeColumn(int, boolean, float) - Method in class org.dromara.hutool.poi.excel.writer.BigExcelWriter
 
autoSizeColumn(int, boolean, float) - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriter
设置某列为自动宽度。
autoSizeColumnAll(boolean, float) - Method in class org.dromara.hutool.poi.excel.writer.BigExcelWriter
 
autoSizeColumnAll(boolean, float) - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriter
设置所有列为自动宽度,不考虑合并单元格
此方法必须在指定列数据完全写出后调用才有效。

B

back() - Method in class org.dromara.hutool.poi.csv.CsvTokener
将标记回退到第一个字符
BeanRowHandler<T> - Class in org.dromara.hutool.poi.excel.sax.handler
Bean形式的行处理器
将一行数据转换为Map,key为指定行,value为当前行对应位置的值
BeanRowHandler(int, int, int, Class<T>) - Constructor for class org.dromara.hutool.poi.excel.sax.handler.BeanRowHandler
构造
BeanSheetReader<T> - Class in org.dromara.hutool.poi.excel.reader.sheet
读取Sheet为bean的List列表形式
BeanSheetReader(int, int, int, Class<T>) - Constructor for class org.dromara.hutool.poi.excel.reader.sheet.BeanSheetReader
构造
beginLineNo - Variable in class org.dromara.hutool.poi.csv.CsvReadConfig
定义开始的行(包括),此处为原始文件行号
BigExcelWriter - Class in org.dromara.hutool.poi.excel.writer
大数据量Excel写出,只支持XLSX(Excel07版本)
通过封装SXSSFWorkbook,限制对滑动窗口中的行的访问来实现其低内存使用。
BigExcelWriter() - Constructor for class org.dromara.hutool.poi.excel.writer.BigExcelWriter
构造,默认生成xlsx格式的Excel文件
此构造不传入写出的Excel文件路径,只能调用ExcelWriter.flush(java.io.OutputStream)方法写出到流
若写出到文件,还需调用ExcelWriter.setTargetFile(File)方法自定义写出的文件,然后调用ExcelWriter.flush()方法写出到文件
BigExcelWriter(int) - Constructor for class org.dromara.hutool.poi.excel.writer.BigExcelWriter
构造
此构造不传入写出的Excel文件路径,只能调用ExcelWriter.flush(java.io.OutputStream)方法写出到流
若写出到文件,需要调用ExcelWriter.flush(File, boolean) 写出到文件
BigExcelWriter(int, boolean, boolean, String) - Constructor for class org.dromara.hutool.poi.excel.writer.BigExcelWriter
构造
此构造不传入写出的Excel文件路径,只能调用ExcelWriter.flush(java.io.OutputStream)方法写出到流
若写出到文件,需要调用ExcelWriter.flush(File, boolean) 写出到文件
BigExcelWriter(String) - Constructor for class org.dromara.hutool.poi.excel.writer.BigExcelWriter
构造,默认写出到第一个sheet,第一个sheet名为sheet1
BigExcelWriter(int, String) - Constructor for class org.dromara.hutool.poi.excel.writer.BigExcelWriter
构造
此构造不传入写出的Excel文件路径,只能调用ExcelWriter.flush(java.io.OutputStream)方法写出到流
若写出到文件,需要调用ExcelWriter.flush(File, boolean) 写出到文件
BigExcelWriter(String, String) - Constructor for class org.dromara.hutool.poi.excel.writer.BigExcelWriter
构造
BigExcelWriter(File) - Constructor for class org.dromara.hutool.poi.excel.writer.BigExcelWriter
构造,默认写出到第一个sheet,第一个sheet名为sheet1
BigExcelWriter(File, String) - Constructor for class org.dromara.hutool.poi.excel.writer.BigExcelWriter
构造
BigExcelWriter(SXSSFWorkbook, String) - Constructor for class org.dromara.hutool.poi.excel.writer.BigExcelWriter
构造
此构造不传入写出的Excel文件路径,只能调用ExcelWriter.flush(java.io.OutputStream)方法写出到流
若写出到文件,还需调用ExcelWriter.setTargetFile(File)方法自定义写出的文件,然后调用ExcelWriter.flush()方法写出到文件
BigExcelWriter(Sheet) - Constructor for class org.dromara.hutool.poi.excel.writer.BigExcelWriter
构造
此构造不传入写出的Excel文件路径,只能调用ExcelWriter.flush(java.io.OutputStream)方法写出到流
若写出到文件,还需调用ExcelWriter.setTargetFile(File)方法自定义写出的文件,然后调用ExcelWriter.flush()方法写出到文件
BooleanCellSetter - Class in org.dromara.hutool.poi.excel.cell.setters
Boolean 值单元格设置器

C

CalendarCellSetter - Class in org.dromara.hutool.poi.excel.cell.setters
Calendar 值单元格设置器
CELL_FILL_CHAR - Static variable in class org.dromara.hutool.poi.excel.sax.ExcelSaxUtil
填充字符串
CellBorderStyle - Class in org.dromara.hutool.poi.excel.style
单元格边框样式和颜色封装,边框按照“上右下左”的顺序定义,与CSS一致
CellBorderStyle() - Constructor for class org.dromara.hutool.poi.excel.style.CellBorderStyle
 
CellDataType - Enum in org.dromara.hutool.poi.excel.sax
单元格数据类型枚举
CellEditor - Interface in org.dromara.hutool.poi.excel.cell.editors
单元格编辑器接口
在读取Excel值时,有时我们需要针对所有单元格统一处理结果值(如null转默认值)的情况,实现接口并调用
reader.setCellEditor()设置编辑器
此接口可完成以下功能: 对单元格进行编辑,如修改样式等。
cellEditor - Variable in class org.dromara.hutool.poi.excel.ExcelConfig
单元格值处理接口
cellRangeAddress - Variable in class org.dromara.hutool.poi.excel.reader.sheet.AbstractSheetReader
 
CellRangeUtil - Class in org.dromara.hutool.poi.excel.cell
CellRangeAddress 工具类
CellRangeAddress 表示表格的一个区域,通过定义起始行和列,以及结束行和列,圈定范围,如设置合并单元格等。
CellRangeUtil() - Constructor for class org.dromara.hutool.poi.excel.cell.CellRangeUtil
 
CellReferenceUtil - Class in org.dromara.hutool.poi.excel.cell
单元格位置CellReference工具类,提供包括行号转行名称、列号转列名称等功能。
CellReferenceUtil() - Constructor for class org.dromara.hutool.poi.excel.cell.CellReferenceUtil
 
CellSetter - Interface in org.dromara.hutool.poi.excel.cell.setters
单元格值自定义设置器,主要用于Excel数据导出,用户通过自定义此接口,实现可定制化的单元格值设定
CellSetterFactory - Class in org.dromara.hutool.poi.excel.cell.setters
CellSetter 简单静态工厂类,用于根据值类型创建对应的CellSetter
CellSetterFactory() - Constructor for class org.dromara.hutool.poi.excel.cell.setters.CellSetterFactory
 
CellUtil - Class in org.dromara.hutool.poi.excel.cell
Excel表格中单元格工具类
CellUtil() - Constructor for class org.dromara.hutool.poi.excel.cell.CellUtil
 
CellValue<T> - Interface in org.dromara.hutool.poi.excel.cell.values
抽象的单元格值接口,用于判断不同类型的单元格值
通过自定义的此接口,对于复杂的单元格值类型,可以自定义读取值的类型,如数字、公式等。
characters(char[], int, int) - Method in class org.dromara.hutool.poi.excel.sax.SheetDataSaxHandler
 
CharSequenceCellSetter - Class in org.dromara.hutool.poi.excel.cell.setters
CharSequence 值单元格设置器
checkClosed() - Method in class org.dromara.hutool.poi.excel.ExcelBase
校验Excel是否已经关闭
checkPoiImport() - Static method in class org.dromara.hutool.poi.PoiChecker
检查POI包的引入情况
childrenMaxRowCount() - Method in class org.dromara.hutool.poi.excel.RowGroup
获取子分组最大占用行数
clearHeaderAlias() - Method in class org.dromara.hutool.poi.excel.ExcelConfig
清空标题别名,key为Map中的key,value为别名
cloneCellStyle(Cell, CellStyle) - Static method in class org.dromara.hutool.poi.excel.style.StyleUtil
克隆新的CellStyle
cloneCellStyle(Workbook, CellStyle) - Static method in class org.dromara.hutool.poi.excel.style.StyleUtil
克隆新的CellStyle
cloneSheet(int, String, boolean) - Method in class org.dromara.hutool.poi.excel.ExcelBase
复制当前sheet为新sheet
close() - Method in class org.dromara.hutool.poi.csv.CsvParser
 
close() - Method in class org.dromara.hutool.poi.csv.CsvReader
 
close() - Method in class org.dromara.hutool.poi.csv.CsvTokener
 
close() - Method in class org.dromara.hutool.poi.csv.CsvWriter
 
close() - Method in class org.dromara.hutool.poi.excel.ExcelBase
关闭工作簿
如果用户设定了目标文件,先写出目标文件后给关闭工作簿
close() - Method in class org.dromara.hutool.poi.excel.writer.BigExcelWriter
 
close() - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriter
关闭工作簿
如果用户设定了目标文件,先写出目标文件后给关闭工作簿
close() - Method in class org.dromara.hutool.poi.ofd.OfdWriter
 
close() - Method in class org.dromara.hutool.poi.word.Word07Writer
关闭Word文档
如果用户设定了目标文件,先写出目标文件后给关闭工作簿
closeWithoutFlush() - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriter
关闭工作簿但是不写出
closeWithoutFlush() - Method in class org.dromara.hutool.poi.word.Word07Writer
关闭Word文档但是不写出
colNameToIndex(String) - Static method in class org.dromara.hutool.poi.excel.cell.CellReferenceUtil
根据表元的列名转换为列号
ColumnSheetReader - Class in org.dromara.hutool.poi.excel.reader.sheet
读取单独一列
ColumnSheetReader(int, int, int) - Constructor for class org.dromara.hutool.poi.excel.reader.sheet.ColumnSheetReader
构造
commentCharacter - Variable in class org.dromara.hutool.poi.csv.CsvConfig
注释符号,用于区分注释行,默认'#'
CompositeCellValue - Class in org.dromara.hutool.poi.excel.cell.values
复合单元格值,用于根据单元格类型读取不同的值
CompositeCellValue(Cell, CellType, CellEditor) - Constructor for class org.dromara.hutool.poi.excel.cell.values.CompositeCellValue
构造
computeNext() - Method in class org.dromara.hutool.poi.csv.CsvParser
 
config - Variable in class org.dromara.hutool.poi.excel.ExcelBase
Excel配置,此项不为空
config - Variable in class org.dromara.hutool.poi.excel.reader.sheet.AbstractSheetReader
Excel配置
containsAll(Collection<?>) - Method in class org.dromara.hutool.poi.csv.CsvRow
 
convertFunc - Variable in class org.dromara.hutool.poi.excel.sax.handler.AbstractRowHandler
行数据转换函数
copyTo(ClientAnchor) - Method in class org.dromara.hutool.poi.excel.SimpleClientAnchor
将当前对象中的值复制到目标对象中
countNullCell(String, String) - Static method in class org.dromara.hutool.poi.excel.sax.ExcelSaxUtil
计算两个单元格之间的单元格数目(同一行)
create(File) - Static method in class org.dromara.hutool.poi.word.DocUtil
创建XWPFDocument,如果文件已存在则读取之,否则创建新的
createBook(String) - Static method in class org.dromara.hutool.poi.excel.WorkbookUtil
创建或加载工作簿(读写模式)
createBook(String, boolean) - Static method in class org.dromara.hutool.poi.excel.WorkbookUtil
创建或加载工作簿
createBook(File) - Static method in class org.dromara.hutool.poi.excel.WorkbookUtil
创建或加载工作簿(读写模式)
createBook(File, boolean) - Static method in class org.dromara.hutool.poi.excel.WorkbookUtil
创建或加载工作簿
createBook(File, String) - Static method in class org.dromara.hutool.poi.excel.WorkbookUtil
创建或加载工作簿(读写模式)
createBook(File, String, boolean) - Static method in class org.dromara.hutool.poi.excel.WorkbookUtil
创建或加载工作簿
createBook(InputStream) - Static method in class org.dromara.hutool.poi.excel.WorkbookUtil
创建或加载工作簿(只读模式)
createBook(InputStream, String) - Static method in class org.dromara.hutool.poi.excel.WorkbookUtil
创建或加载工作簿(只读模式)
createBook(boolean) - Static method in class org.dromara.hutool.poi.excel.WorkbookUtil
创建新的空白Excel工作簿
createBookForWriter(File) - Static method in class org.dromara.hutool.poi.excel.WorkbookUtil
创建工作簿,用于Excel写出(读写模式) 1. excelFile为null时直接返回一个空的工作簿,默认xlsx格式 2.
createCellSetter(Object) - Static method in class org.dromara.hutool.poi.excel.cell.setters.CellSetterFactory
创建值对应类型的CellSetter
createCellStyle(String) - Method in class org.dromara.hutool.poi.excel.ExcelBase
为指定单元格创建样式,返回样式后可以设置样式内容
createCellStyle(int, int) - Method in class org.dromara.hutool.poi.excel.ExcelBase
为指定单元格创建样式,返回样式后可以设置样式内容
createCellStyle() - Method in class org.dromara.hutool.poi.excel.ExcelBase
创建单元格样式
createCellStyle(Workbook) - Static method in class org.dromara.hutool.poi.excel.style.StyleUtil
创建单元格样式
createColumnStyle(int) - Method in class org.dromara.hutool.poi.excel.ExcelBase
创建某一列的样式,返回样式后可以设置样式内容
createDefaultCellStyle(Workbook) - Static method in class org.dromara.hutool.poi.excel.style.StyleUtil
创建默认普通单元格样式 1.
createFont() - Method in class org.dromara.hutool.poi.excel.ExcelBase
创建字体
createFont(Workbook, short, short, String) - Static method in class org.dromara.hutool.poi.excel.style.StyleUtil
创建字体
createHeadCellStyle(Workbook) - Static method in class org.dromara.hutool.poi.excel.style.StyleUtil
创建默认头部样式
createHyperlink(HyperlinkType, String) - Method in class org.dromara.hutool.poi.excel.ExcelBase
创建 Hyperlink,默认内容(标签为链接地址本身)
createHyperlink(HyperlinkType, String, String) - Method in class org.dromara.hutool.poi.excel.ExcelBase
创建 Hyperlink,默认内容
createRowStyle(int) - Method in class org.dromara.hutool.poi.excel.ExcelBase
创建某一行的样式,返回样式后可以设置样式内容
createSaxReader(boolean, RowHandler) - Static method in class org.dromara.hutool.poi.excel.sax.ExcelSaxUtil
createSXSSFBook(String) - Static method in class org.dromara.hutool.poi.excel.WorkbookUtil
创建或加载SXSSFWorkbook工作簿(读写模式)
createSXSSFBook(String, boolean) - Static method in class org.dromara.hutool.poi.excel.WorkbookUtil
创建或加载SXSSFWorkbook工作簿
createSXSSFBook(File) - Static method in class org.dromara.hutool.poi.excel.WorkbookUtil
创建或加载SXSSFWorkbook工作簿(读写模式)
createSXSSFBook(File, boolean) - Static method in class org.dromara.hutool.poi.excel.WorkbookUtil
创建或加载SXSSFWorkbook工作簿
createSXSSFBook(File, String) - Static method in class org.dromara.hutool.poi.excel.WorkbookUtil
创建或加载SXSSFWorkbook工作簿(读写模式)
createSXSSFBook(File, String, boolean) - Static method in class org.dromara.hutool.poi.excel.WorkbookUtil
创建或加载SXSSFWorkbook工作簿
createSXSSFBook(InputStream) - Static method in class org.dromara.hutool.poi.excel.WorkbookUtil
创建或加载SXSSFWorkbook工作簿(只读模式)
createSXSSFBook(InputStream, String) - Static method in class org.dromara.hutool.poi.excel.WorkbookUtil
创建或加载SXSSFWorkbook工作簿(只读模式)
createSXSSFBook() - Static method in class org.dromara.hutool.poi.excel.WorkbookUtil
创建空的SXSSFWorkbook,用于大批量数据写出
createSXSSFBook(int) - Static method in class org.dromara.hutool.poi.excel.WorkbookUtil
创建空的SXSSFWorkbook,用于大批量数据写出
createSXSSFBook(int, boolean, boolean) - Static method in class org.dromara.hutool.poi.excel.WorkbookUtil
创建空的SXSSFWorkbook,用于大批量数据写出
createTable(XWPFDocument) - Static method in class org.dromara.hutool.poi.word.TableUtil
创建空表,只有一行
createTable(XWPFDocument, Iterable<?>) - Static method in class org.dromara.hutool.poi.word.TableUtil
创建表格并填充数据,默认表格
CsvBaseReader - Class in org.dromara.hutool.poi.csv
CSV文件读取器基础类,提供灵活的文件、路径中的CSV读取,一次构造可多次调用读取不同数据,参考:FastCSV
CsvBaseReader() - Constructor for class org.dromara.hutool.poi.csv.CsvBaseReader
构造,使用默认配置项
CsvBaseReader(CsvReadConfig) - Constructor for class org.dromara.hutool.poi.csv.CsvBaseReader
构造
CsvConfig<T extends CsvConfig<T>> - Class in org.dromara.hutool.poi.csv
CSV基础配置项,此配置项可用于读取和写出CSV,定义了包括字段分隔符、文本包装符等符号
CsvConfig() - Constructor for class org.dromara.hutool.poi.csv.CsvConfig
 
CsvData - Class in org.dromara.hutool.poi.csv
CSV数据,包括头部信息和行数据,参考:FastCSV
CsvData(List<String>, List<CsvRow>) - Constructor for class org.dromara.hutool.poi.csv.CsvData
构造
CsvParser - Class in org.dromara.hutool.poi.csv
CSV行解析器,参考:FastCSV
CsvParser(Reader, CsvReadConfig) - Constructor for class org.dromara.hutool.poi.csv.CsvParser
CSV解析器
CsvReadConfig - Class in org.dromara.hutool.poi.csv
CSV读取配置项
CsvReadConfig() - Constructor for class org.dromara.hutool.poi.csv.CsvReadConfig
 
CsvReader - Class in org.dromara.hutool.poi.csv
CSV文件读取器,参考:FastCSV
CsvReader() - Constructor for class org.dromara.hutool.poi.csv.CsvReader
构造,使用默认配置项
CsvReader(CsvReadConfig) - Constructor for class org.dromara.hutool.poi.csv.CsvReader
构造
CsvReader(File, CsvReadConfig) - Constructor for class org.dromara.hutool.poi.csv.CsvReader
构造,默认CsvBaseReader.DEFAULT_CHARSET编码
CsvReader(Path, CsvReadConfig) - Constructor for class org.dromara.hutool.poi.csv.CsvReader
构造,默认CsvBaseReader.DEFAULT_CHARSET编码
CsvReader(File, Charset, CsvReadConfig) - Constructor for class org.dromara.hutool.poi.csv.CsvReader
构造
CsvReader(Path, Charset, CsvReadConfig) - Constructor for class org.dromara.hutool.poi.csv.CsvReader
构造
CsvReader(Reader, CsvReadConfig) - Constructor for class org.dromara.hutool.poi.csv.CsvReader
构造
CsvRow - Class in org.dromara.hutool.poi.csv
CSV中一行的表示
CsvRow(long, Map<String, Integer>, List<String>) - Constructor for class org.dromara.hutool.poi.csv.CsvRow
构造
CsvTokener - Class in org.dromara.hutool.poi.csv
CSV解析器,用于解析CSV文件
CsvTokener(Reader) - Constructor for class org.dromara.hutool.poi.csv.CsvTokener
构造
CsvUtil - Class in org.dromara.hutool.poi.csv
CSV工具
CsvUtil() - Constructor for class org.dromara.hutool.poi.csv.CsvUtil
 
CsvWriteConfig - Class in org.dromara.hutool.poi.csv
CSV写出配置项
CsvWriteConfig() - Constructor for class org.dromara.hutool.poi.csv.CsvWriteConfig
 
CsvWriter - Class in org.dromara.hutool.poi.csv
CSV数据写出器
CsvWriter(String) - Constructor for class org.dromara.hutool.poi.csv.CsvWriter
构造,覆盖已有文件(如果存在),默认编码UTF-8
CsvWriter(File) - Constructor for class org.dromara.hutool.poi.csv.CsvWriter
构造,覆盖已有文件(如果存在),默认编码UTF-8
CsvWriter(String, Charset) - Constructor for class org.dromara.hutool.poi.csv.CsvWriter
构造,覆盖已有文件(如果存在)
CsvWriter(File, Charset) - Constructor for class org.dromara.hutool.poi.csv.CsvWriter
构造,覆盖已有文件(如果存在)
CsvWriter(String, Charset, boolean) - Constructor for class org.dromara.hutool.poi.csv.CsvWriter
构造
CsvWriter(File, Charset, boolean) - Constructor for class org.dromara.hutool.poi.csv.CsvWriter
构造
CsvWriter(String, Charset, boolean, CsvWriteConfig) - Constructor for class org.dromara.hutool.poi.csv.CsvWriter
构造
CsvWriter(File, Charset, boolean, CsvWriteConfig) - Constructor for class org.dromara.hutool.poi.csv.CsvWriter
构造
CsvWriter(Writer) - Constructor for class org.dromara.hutool.poi.csv.CsvWriter
构造,使用默认配置
CsvWriter(Writer, CsvWriteConfig) - Constructor for class org.dromara.hutool.poi.csv.CsvWriter
构造

D

DataValidationUtil - Class in org.dromara.hutool.poi.excel.writer
Excel数据验证相关工具
DataValidationUtil() - Constructor for class org.dromara.hutool.poi.excel.writer.DataValidationUtil
 
DateCellSetter - Class in org.dromara.hutool.poi.excel.cell.setters
Date 值单元格设置器
ddeSafe - Variable in class org.dromara.hutool.poi.csv.CsvWriteConfig
是否使用安全模式,对可能存在DDE攻击的内容进行替换
DEFAULT_CHARSET - Static variable in class org.dromara.hutool.poi.csv.CsvBaseReader
默认编码
DEFAULT_WINDOW_SIZE - Static variable in class org.dromara.hutool.poi.excel.writer.BigExcelWriter
默认内存中保存的行数,默认100
defaultConfig() - Static method in class org.dromara.hutool.poi.csv.CsvWriteConfig
默认配置
DefaultStyleSet - Class in org.dromara.hutool.poi.excel.style
默认样式集合,定义了标题、数字、日期等默认样式
DefaultStyleSet(Workbook) - Constructor for class org.dromara.hutool.poi.excel.style.DefaultStyleSet
构造
disableComment() - Method in class org.dromara.hutool.poi.csv.CsvConfig
设置注释无效
当写出CSV时,CsvWriter.writeComment(String)将抛出异常
当读取CSV时,注释行按照正常行读取
disableDefaultStyle() - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriter
禁用默认样式
doAfterAllAnalysed() - Method in interface org.dromara.hutool.poi.excel.sax.handler.RowHandler
处理一个sheet页完成的操作
DocConverterUtil - Class in org.dromara.hutool.poi.ofd
基于ofdrw-converter文档转换,提供: OFD PDF 相互转换 OFD TEXT 相互转换 OFD 图片 相互转换 具体见:https://toscode.gitee.com/ofdrw/ofdrw/blob/master/ofdrw-converter/doc/CONVERTER.md
DocConverterUtil() - Constructor for class org.dromara.hutool.poi.ofd.DocConverterUtil
 
DocUtil - Class in org.dromara.hutool.poi.word
Word Document工具
DocUtil() - Constructor for class org.dromara.hutool.poi.word.DocUtil
 
drawingCellComment(Cell, SimpleClientAnchor, String) - Static method in class org.dromara.hutool.poi.excel.writer.ExcelDrawingUtil
添加批注
drawingPic(Sheet, byte[], ExcelPicType, SimpleClientAnchor) - Static method in class org.dromara.hutool.poi.excel.writer.ExcelDrawingUtil
写出图片,本方法只是将数据写入Workbook中的Sheet,并不写出到文件
添加图片到当前sheet中
drawingSimpleShape(Sheet, SimpleClientAnchor, ShapeConfig) - Static method in class org.dromara.hutool.poi.excel.writer.ExcelDrawingUtil
绘制简单形状

E

edit(Cell, Object) - Method in interface org.dromara.hutool.poi.excel.cell.editors.CellEditor
编辑,根据单元格信息处理结果值,返回处理后的结果
edit(Cell, Object) - Method in class org.dromara.hutool.poi.excel.cell.editors.NumericToIntEditor
 
edit(Cell, Object) - Method in class org.dromara.hutool.poi.excel.cell.editors.TrimEditor
 
ElementName - Enum in org.dromara.hutool.poi.excel.sax
标签名枚举
endElement(String, String, String) - Method in class org.dromara.hutool.poi.excel.sax.SheetDataSaxHandler
标签结束的回调处理方法
endingLineBreak - Variable in class org.dromara.hutool.poi.csv.CsvWriteConfig
文件末尾是否添加换行符
按照https://datatracker.ietf.org/doc/html/rfc4180#section-2 规范,末尾换行符可有可无。
endLineNo - Variable in class org.dromara.hutool.poi.csv.CsvReadConfig
结束的行(包括),此处为原始文件行号
endRowIndex - Variable in class org.dromara.hutool.poi.excel.sax.handler.AbstractRowHandler
读取结束行(包含,从0开始计数)
ErrorCellValue - Class in org.dromara.hutool.poi.excel.cell.values
ERROR类型单元格值
ErrorCellValue(Cell) - Constructor for class org.dromara.hutool.poi.excel.cell.values.ErrorCellValue
构造
errorOnDifferentFieldCount - Variable in class org.dromara.hutool.poi.csv.CsvReadConfig
每行字段个数不同时是否抛出异常,默认false
EscapeStrCellSetter - Class in org.dromara.hutool.poi.excel.cell.setters
字符串转义Cell值设置器
使用 _x005F前缀转义_xXXXX_,避免被decode的问题
如用户传入'_x5116_'会导致乱码,使用此设置器转义为'_x005F_x5116_'
EscapeStrCellSetter(CharSequence) - Constructor for class org.dromara.hutool.poi.excel.cell.setters.EscapeStrCellSetter
构造
Excel03SaxReader - Class in org.dromara.hutool.poi.excel.sax
Excel2003格式的事件-用户模型方式读取器,在Hutool中,统一将此归类为Sax读取
参考:http://www.cnblogs.com/wshsdlau/p/5643862.html
Excel03SaxReader(RowHandler) - Constructor for class org.dromara.hutool.poi.excel.sax.Excel03SaxReader
构造
Excel07SaxReader - Class in org.dromara.hutool.poi.excel.sax
Sax方式读取Excel文件
Excel2007格式说明见:http://www.cnblogs.com/wangmingshun/p/6654143.html
Excel07SaxReader(RowHandler) - Constructor for class org.dromara.hutool.poi.excel.sax.Excel07SaxReader
构造
Excel07SaxReader(RowHandler, boolean) - Constructor for class org.dromara.hutool.poi.excel.sax.Excel07SaxReader
构造
ExcelBase<T extends ExcelBase<T,C>,C extends ExcelConfig> - Class in org.dromara.hutool.poi.excel
Excel基础类,用于抽象ExcelWriter和ExcelReader中共用部分的对象和方法
ExcelBase(C, Sheet) - Constructor for class org.dromara.hutool.poi.excel.ExcelBase
构造
ExcelConfig - Class in org.dromara.hutool.poi.excel
Excel读取和写出通用配置
ExcelConfig() - Constructor for class org.dromara.hutool.poi.excel.ExcelConfig
 
ExcelDateUtil - Class in org.dromara.hutool.poi.excel
Excel中日期判断、读取、处理等补充工具类
ExcelDateUtil() - Constructor for class org.dromara.hutool.poi.excel.ExcelDateUtil
 
ExcelDrawingUtil - Class in org.dromara.hutool.poi.excel.writer
Excel绘制工具类
用于辅助写出指定的图形
ExcelDrawingUtil() - Constructor for class org.dromara.hutool.poi.excel.writer.ExcelDrawingUtil
 
ExcelExtractorUtil - Class in org.dromara.hutool.poi.excel
ExcelExtractor工具封装
ExcelExtractorUtil() - Constructor for class org.dromara.hutool.poi.excel.ExcelExtractorUtil
 
ExcelFileUtil - Class in org.dromara.hutool.poi.excel
Excel文件工具类
ExcelFileUtil() - Constructor for class org.dromara.hutool.poi.excel.ExcelFileUtil
 
ExcelPicType - Enum in org.dromara.hutool.poi.excel.shape
Excel支持的图片类型枚举
ExcelPicUtil - Class in org.dromara.hutool.poi.excel.shape
Excel图片工具类
ExcelPicUtil() - Constructor for class org.dromara.hutool.poi.excel.shape.ExcelPicUtil
 
ExcelReadConfig - Class in org.dromara.hutool.poi.excel.reader
Excel读取配置
ExcelReadConfig() - Constructor for class org.dromara.hutool.poi.excel.reader.ExcelReadConfig
 
ExcelReader - Class in org.dromara.hutool.poi.excel.reader
Excel读取器
读取Excel工作簿
ExcelReader(String, int) - Constructor for class org.dromara.hutool.poi.excel.reader.ExcelReader
构造
ExcelReader(String, String) - Constructor for class org.dromara.hutool.poi.excel.reader.ExcelReader
构造
ExcelReader(File, int) - Constructor for class org.dromara.hutool.poi.excel.reader.ExcelReader
构造(读写方式读取)
ExcelReader(File, String) - Constructor for class org.dromara.hutool.poi.excel.reader.ExcelReader
构造(读写方式读取)
ExcelReader(InputStream, int) - Constructor for class org.dromara.hutool.poi.excel.reader.ExcelReader
构造(只读方式读取)
ExcelReader(InputStream, String) - Constructor for class org.dromara.hutool.poi.excel.reader.ExcelReader
构造(只读方式读取)
ExcelReader(Workbook, int) - Constructor for class org.dromara.hutool.poi.excel.reader.ExcelReader
构造
ExcelReader(Workbook, String) - Constructor for class org.dromara.hutool.poi.excel.reader.ExcelReader
构造
ExcelReader(Sheet) - Constructor for class org.dromara.hutool.poi.excel.reader.ExcelReader
构造
ExcelSaxReader<T> - Interface in org.dromara.hutool.poi.excel.sax
Sax方式读取Excel接口,提供一些共用方法
ExcelSaxUtil - Class in org.dromara.hutool.poi.excel.sax
Sax方式读取Excel相关工具类
ExcelSaxUtil() - Constructor for class org.dromara.hutool.poi.excel.sax.ExcelSaxUtil
 
ExcelUtil - Class in org.dromara.hutool.poi.excel
Excel工具类,不建议直接使用index直接操作sheet,在wps/excel中sheet显示顺序与index无关,还有隐藏sheet
ExcelUtil() - Constructor for class org.dromara.hutool.poi.excel.ExcelUtil
 
ExcelWriteConfig - Class in org.dromara.hutool.poi.excel.writer
Excel写出配置
ExcelWriteConfig() - Constructor for class org.dromara.hutool.poi.excel.writer.ExcelWriteConfig
 
ExcelWriter - Class in org.dromara.hutool.poi.excel.writer
Excel 写入器
此工具用于通过POI将数据写出到Excel,此对象可完成以下两个功能 1.
ExcelWriter() - Constructor for class org.dromara.hutool.poi.excel.writer.ExcelWriter
构造,默认生成xlsx格式的Excel文件
此构造不传入写出的Excel文件路径,只能调用ExcelWriter.flush(OutputStream)方法写出到流
若写出到文件,还需调用ExcelWriter.setTargetFile(File)方法自定义写出的文件,然后调用ExcelWriter.flush()方法写出到文件
ExcelWriter(boolean) - Constructor for class org.dromara.hutool.poi.excel.writer.ExcelWriter
构造
此构造不传入写出的Excel文件路径,只能调用ExcelWriter.flush(OutputStream)方法写出到流
若写出到文件,需要调用ExcelWriter.flush(File, boolean) 写出到文件
ExcelWriter(String) - Constructor for class org.dromara.hutool.poi.excel.writer.ExcelWriter
构造,默认写出到第一个sheet,第一个sheet名为sheet1
ExcelWriter(boolean, String) - Constructor for class org.dromara.hutool.poi.excel.writer.ExcelWriter
构造
此构造不传入写出的Excel文件路径,只能调用ExcelWriter.flush(OutputStream)方法写出到流
若写出到文件,需要调用ExcelWriter.flush(File, boolean) 写出到文件
ExcelWriter(String, String) - Constructor for class org.dromara.hutool.poi.excel.writer.ExcelWriter
构造
ExcelWriter(File) - Constructor for class org.dromara.hutool.poi.excel.writer.ExcelWriter
构造,默认写出到第一个sheet,第一个sheet名为sheet1
ExcelWriter(File, String) - Constructor for class org.dromara.hutool.poi.excel.writer.ExcelWriter
构造
ExcelWriter(Workbook, String) - Constructor for class org.dromara.hutool.poi.excel.writer.ExcelWriter
构造
此构造不传入写出的Excel文件路径,只能调用ExcelWriter.flush(OutputStream)方法写出到流
若写出到文件,还需调用ExcelWriter.setTargetFile(File)方法自定义写出的文件,然后调用ExcelWriter.flush()方法写出到文件
ExcelWriter(Sheet) - Constructor for class org.dromara.hutool.poi.excel.writer.ExcelWriter
构造
此构造不传入写出的Excel文件路径,只能调用ExcelWriter.flush(OutputStream)方法写出到流
若写出到文件,还需调用ExcelWriter.setTargetFile(File)方法自定义写出的文件,然后调用ExcelWriter.flush()方法写出到文件

F

fieldSeparator - Variable in class org.dromara.hutool.poi.csv.CsvConfig
字段分隔符,默认逗号','
fill(Object, boolean) - Method in class org.dromara.hutool.poi.excel.writer.TemplateContext
填充变量名name指向的单元格
fillOnce(Map<?, ?>) - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriter
填充非列表模板变量(一次性变量)
fillOnce(Map<?, ?>) - Method in class org.dromara.hutool.poi.excel.writer.SheetTemplateWriter
填充非列表模板变量(一次性变量)
fillRow(Object) - Method in class org.dromara.hutool.poi.excel.writer.SheetTemplateWriter
填充模板行,用于列表填充
flush() - Method in class org.dromara.hutool.poi.csv.CsvWriter
 
flush(OutputStream, boolean) - Method in class org.dromara.hutool.poi.excel.writer.BigExcelWriter
 
flush() - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriter
将Excel Workbook刷出到预定义的文件
如果用户未自定义输出的文件,将抛出NullPointerException
预定义文件可以通过ExcelWriter.setTargetFile(File) 方法预定义,或者通过构造定义
flush(boolean) - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriter
将Excel Workbook刷出到预定义的文件
如果用户未自定义输出的文件,将抛出NullPointerException
预定义文件可以通过ExcelWriter.setTargetFile(File) 方法预定义,或者通过构造定义
flush(File, boolean) - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriter
将Excel Workbook刷出到文件
如果用户未自定义输出的文件,将抛出NullPointerException
flush(OutputStream) - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriter
将Excel Workbook刷出到输出流
flush(OutputStream, boolean) - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriter
将Excel Workbook刷出到输出流
flush() - Method in class org.dromara.hutool.poi.word.Word07Writer
将Excel Workbook刷出到预定义的文件
如果用户未自定义输出的文件,将抛出NullPointerException
预定义文件可以通过Word07Writer.setTargetFile(File) 方法预定义,或者通过构造定义
flush(File) - Method in class org.dromara.hutool.poi.word.Word07Writer
将Excel Workbook刷出到文件
如果用户未自定义输出的文件,将抛出NullPointerException
flush(OutputStream) - Method in class org.dromara.hutool.poi.word.Word07Writer
将Word Workbook刷出到输出流
flush(OutputStream, boolean) - Method in class org.dromara.hutool.poi.word.Word07Writer
将Word Document刷出到输出流
formatCellContent(String, int, String) - Static method in class org.dromara.hutool.poi.excel.sax.ExcelSaxUtil
格式化数字或日期值
FormulaCellValue - Class in org.dromara.hutool.poi.excel.cell.values
公式类型的值
在Sax读取模式时,此对象用于接收单元格的公式以及公式结果值信息 在写出模式时,用于定义写出的单元格类型为公式
FormulaCellValue(String) - Constructor for class org.dromara.hutool.poi.excel.cell.values.FormulaCellValue
构造
FormulaCellValue(String, Object) - Constructor for class org.dromara.hutool.poi.excel.cell.values.FormulaCellValue
构造
FormulaCellValue(String, Object, CellType) - Constructor for class org.dromara.hutool.poi.excel.cell.values.FormulaCellValue
构造

G

get(int) - Method in class org.dromara.hutool.poi.csv.CsvRow
 
getAddress() - Method in class org.dromara.hutool.poi.excel.cell.NullCell
 
getAllPictures(Workbook) - Static method in class org.dromara.hutool.poi.excel.shape.ExcelPicUtil
获取所有图片列表
getAnchorType() - Method in class org.dromara.hutool.poi.excel.SimpleClientAnchor
 
getArrayFormulaRange() - Method in class org.dromara.hutool.poi.excel.cell.NullCell
 
getArrayFormulaRange() - Method in class org.dromara.hutool.poi.excel.cell.VirtualCell
 
getBigWriter() - Static method in class org.dromara.hutool.poi.excel.ExcelUtil
获得BigExcelWriter,默认写出到第一个sheet
不传入写出的Excel文件路径,只能调用ExcelWriter#flush(OutputStream)方法写出到流
若写出到文件,还需调用ExcelWriter.setTargetFile(File)方法自定义写出的文件,然后调用ExcelWriter.flush()方法写出到文件
getBigWriter(int) - Static method in class org.dromara.hutool.poi.excel.ExcelUtil
获得BigExcelWriter,默认写出到第一个sheet
不传入写出的Excel文件路径,只能调用ExcelWriter#flush(OutputStream)方法写出到流
若写出到文件,还需调用ExcelWriter.setTargetFile(File)方法自定义写出的文件,然后调用ExcelWriter.flush()方法写出到文件
getBigWriter(String) - Static method in class org.dromara.hutool.poi.excel.ExcelUtil
获得BigExcelWriter,默认写出到第一个sheet
getBigWriter(File) - Static method in class org.dromara.hutool.poi.excel.ExcelUtil
获得BigExcelWriter,默认写出到第一个sheet,名字为sheet1
getBigWriter(String, String) - Static method in class org.dromara.hutool.poi.excel.ExcelUtil
getBigWriter(File, String) - Static method in class org.dromara.hutool.poi.excel.ExcelUtil
getBooleanCellValue() - Method in class org.dromara.hutool.poi.excel.cell.NullCell
 
getBooleanCellValue() - Method in class org.dromara.hutool.poi.excel.cell.VirtualCell
 
getBottomColor() - Method in class org.dromara.hutool.poi.excel.style.CellBorderStyle
获取底边框的颜色。
getBottomRowIndex(Object) - Method in class org.dromara.hutool.poi.excel.writer.TemplateContext
获取当前替换的数据行对应变量的底部索引
此方法用户获取填充行,以便下移填充行后的行
如果为实体单元格,直接填充,无需下移,返回0 如果为VirtualCell,返回最底部虚拟单元格各行号
getBottomStyle() - Method in class org.dromara.hutool.poi.excel.style.CellBorderStyle
获取底边框的样式。
getByName(String) - Method in class org.dromara.hutool.poi.csv.CsvRow
获取标题对应的字段内容
getCachedAliasComparator() - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriteConfig
获取单例的别名比较器,比较器的顺序为别名加入的顺序
getCachedFormulaResultType() - Method in class org.dromara.hutool.poi.excel.cell.NullCell
 
getCachedFormulaResultType() - Method in class org.dromara.hutool.poi.excel.cell.VirtualCell
 
getCell(Sheet, int, int, boolean) - Static method in class org.dromara.hutool.poi.excel.cell.CellUtil
获取指定坐标单元格,如果isCreateIfNotExist为false,则在单元格不存在时返回null
getCell(Row, int) - Static method in class org.dromara.hutool.poi.excel.cell.CellUtil
获取单元格,如果单元格不存在,返回NullCell
getCell(String) - Method in class org.dromara.hutool.poi.excel.ExcelBase
获取指定坐标单元格,单元格不存在时返回null
getCell(int, int) - Method in class org.dromara.hutool.poi.excel.ExcelBase
获取指定坐标单元格,单元格不存在时返回null
getCell(String, boolean) - Method in class org.dromara.hutool.poi.excel.ExcelBase
获取指定坐标单元格,如果isCreateIfNotExist为false,则在单元格不存在时返回null
getCell(int, int, boolean) - Method in class org.dromara.hutool.poi.excel.ExcelBase
获取指定坐标单元格,如果isCreateIfNotExist为false,则在单元格不存在时返回null
getCell(String) - Method in class org.dromara.hutool.poi.excel.writer.TemplateContext
获取变量对应的当前单元格,列表变量以开头
getCellComment() - Method in class org.dromara.hutool.poi.excel.cell.NullCell
 
getCellComment() - Method in class org.dromara.hutool.poi.excel.cell.VirtualCell
 
getCellEditor() - Method in class org.dromara.hutool.poi.excel.ExcelConfig
获取单元格值处理器
getCellFormula() - Method in class org.dromara.hutool.poi.excel.cell.NullCell
 
getCellFormula() - Method in class org.dromara.hutool.poi.excel.cell.VirtualCell
 
getCellRangeAddress(Sheet, String) - Static method in class org.dromara.hutool.poi.excel.cell.CellRangeUtil
获取合并单元格CellRangeAddress,如果不是返回null
getCellRangeAddress(Cell) - Static method in class org.dromara.hutool.poi.excel.cell.CellRangeUtil
获取合并单元格CellRangeAddress,如果不是返回null
getCellRangeAddress(Sheet, int, int) - Static method in class org.dromara.hutool.poi.excel.cell.CellRangeUtil
获取合并单元格CellRangeAddress,如果不是返回null
getCellStyle() - Method in class org.dromara.hutool.poi.excel.cell.NullCell
 
getCellStyle() - Method in class org.dromara.hutool.poi.excel.cell.VirtualCell
 
getCellStyle() - Method in class org.dromara.hutool.poi.excel.style.DefaultStyleSet
获取常规单元格样式,获取后可以定义整体头部样式
getCellStyleForDate() - Method in class org.dromara.hutool.poi.excel.style.DefaultStyleSet
获取日期单元格样式,获取后可以定义整体日期样式
getCellStyleForHyperlink() - Method in class org.dromara.hutool.poi.excel.style.DefaultStyleSet
获取链接单元格样式,获取后可以定义整体链接样式
getCellStyleForNumber() - Method in class org.dromara.hutool.poi.excel.style.DefaultStyleSet
获取数字(带小数点)单元格样式,获取后可以定义整体数字样式
getCellType() - Method in class org.dromara.hutool.poi.excel.cell.NullCell
 
getCellType() - Method in class org.dromara.hutool.poi.excel.cell.VirtualCell
 
getCellValue(Cell) - Static method in class org.dromara.hutool.poi.excel.cell.CellUtil
获取单元格值
getCellValue(Cell, boolean) - Static method in class org.dromara.hutool.poi.excel.cell.CellUtil
获取单元格值
getCellValue(Cell, CellEditor) - Static method in class org.dromara.hutool.poi.excel.cell.CellUtil
获取单元格值
getCellValue(Cell, CellType, boolean) - Static method in class org.dromara.hutool.poi.excel.cell.CellUtil
获取单元格值
getCellValue(Cell, CellType, CellEditor) - Static method in class org.dromara.hutool.poi.excel.cell.CellUtil
获取单元格值
如果单元格值为数字格式,则判断其格式中是否有小数部分,无则返回Long类型,否则返回Double类型
getChildren() - Method in class org.dromara.hutool.poi.excel.RowGroup
获取子分组
getCol1() - Method in class org.dromara.hutool.poi.excel.SimpleClientAnchor
 
getCol2() - Method in class org.dromara.hutool.poi.excel.SimpleClientAnchor
 
getColumnCount() - Method in class org.dromara.hutool.poi.excel.ExcelBase
获取第一行总列数,计算方法为: 最后一列序号 + 1
getColumnCount(int) - Method in class org.dromara.hutool.poi.excel.ExcelBase
获取总列数,计算方法为: 最后一列序号 + 1
getColumnIndex() - Method in class org.dromara.hutool.poi.excel.cell.NullCell
 
getColumnIndex() - Method in class org.dromara.hutool.poi.excel.cell.VirtualCell
 
getConfig() - Method in class org.dromara.hutool.poi.excel.ExcelBase
获取Excel配置
getContentType() - Method in class org.dromara.hutool.poi.excel.ExcelBase
获取Content-Type头对应的值,可以通过调用以下方法快速设置下载Excel的头信息: response.setContentType(excelWriter.getContentType());
getCurrentRow() - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriter
获得当前行
getCurrentRow() - Method in class org.dromara.hutool.poi.excel.writer.SheetDataWriter
获得当前行
getDataValue(CellDataType, String, SharedStrings, String) - Static method in class org.dromara.hutool.poi.excel.sax.ExcelSaxUtil
根据数据类型获取数据
getDateCellValue() - Method in class org.dromara.hutool.poi.excel.cell.NullCell
 
getDateCellValue() - Method in class org.dromara.hutool.poi.excel.cell.VirtualCell
 
getDateValue(String) - Static method in class org.dromara.hutool.poi.excel.sax.ExcelSaxUtil
获取日期
getDateValue(double) - Static method in class org.dromara.hutool.poi.excel.sax.ExcelSaxUtil
获取日期
getDoc() - Method in class org.dromara.hutool.poi.word.Word07Writer
获取XWPFDocument
getDx1() - Method in class org.dromara.hutool.poi.excel.SimpleClientAnchor
 
getDx2() - Method in class org.dromara.hutool.poi.excel.SimpleClientAnchor
 
getDy1() - Method in class org.dromara.hutool.poi.excel.SimpleClientAnchor
 
getDy2() - Method in class org.dromara.hutool.poi.excel.SimpleClientAnchor
 
getErrorCellValue() - Method in class org.dromara.hutool.poi.excel.cell.NullCell
 
getErrorCellValue() - Method in class org.dromara.hutool.poi.excel.cell.VirtualCell
 
getExtractor(Workbook) - Static method in class org.dromara.hutool.poi.excel.ExcelExtractorUtil
获取 ExcelExtractor 对象
getExtractor() - Method in class org.dromara.hutool.poi.excel.reader.ExcelReader
获取 ExcelExtractor 对象
getFieldMap() - Method in class org.dromara.hutool.poi.csv.CsvRow
获取标题与字段值对应的Map
getFillColor() - Method in class org.dromara.hutool.poi.excel.style.ShapeConfig
获取填充颜色,null表示不填充
getFirst() - Method in class org.dromara.hutool.poi.excel.cell.MergedCell
获取第一个单元格,即左上角的单元格
getFirstCellOfMerged(Cell) - Static method in class org.dromara.hutool.poi.excel.cell.CellUtil
获取合并单元格中的第一个单元格
传入的cell可以是合并单元格范围内的任意一个单元格
getFormat(Workbook, String) - Static method in class org.dromara.hutool.poi.excel.style.StyleUtil
创建数据格式并获取格式
getHeadCellStyle() - Method in class org.dromara.hutool.poi.excel.style.DefaultStyleSet
获取头部样式,获取后可以定义整体头部样式
getHeader() - Method in class org.dromara.hutool.poi.csv.CsvData
获取头信息列表,如果无头信息为Null,返回列表为只读列表
getHeader() - Method in class org.dromara.hutool.poi.csv.CsvParser
获取头部字段列表,如果headerLineNo < 0,抛出异常
getHeaderAlias() - Method in class org.dromara.hutool.poi.excel.ExcelConfig
获得标题行的别名Map
getHyperlink() - Method in class org.dromara.hutool.poi.excel.cell.NullCell
 
getHyperlink() - Method in class org.dromara.hutool.poi.excel.cell.VirtualCell
 
getIndex() - Method in class org.dromara.hutool.poi.csv.CsvTokener
获取当前位置
getLeftColor() - Method in class org.dromara.hutool.poi.excel.style.CellBorderStyle
获取左边框的颜色。
getLeftStyle() - Method in class org.dromara.hutool.poi.excel.style.CellBorderStyle
获取左边框的样式。
getLineColor() - Method in class org.dromara.hutool.poi.excel.style.ShapeConfig
获取线条颜色
getLineStyle() - Method in class org.dromara.hutool.poi.excel.style.ShapeConfig
获取线条样式
getLineWidth() - Method in class org.dromara.hutool.poi.excel.style.ShapeConfig
获取线条宽度
getLocalDateTimeCellValue() - Method in class org.dromara.hutool.poi.excel.cell.NullCell
 
getLocalDateTimeCellValue() - Method in class org.dromara.hutool.poi.excel.cell.VirtualCell
 
getMergedCell(Sheet, int, int) - Static method in class org.dromara.hutool.poi.excel.cell.CellUtil
获取合并单元格
传入的x,y坐标(列行数)可以是合并单元格范围内的任意一个单元格
getMergedRegion(Sheet, int, int) - Static method in class org.dromara.hutool.poi.excel.SheetUtil
获取指定坐标点对应的合并单元格范围
getName() - Method in class org.dromara.hutool.poi.excel.RowGroup
获取分组名称
getName() - Method in enum org.dromara.hutool.poi.excel.sax.CellDataType
获取对应类型的属性值
getNumberOrDateValue(CellValueRecordInterface, double, FormatTrackingHSSFListener) - Static method in class org.dromara.hutool.poi.excel.sax.ExcelSaxUtil
在Excel03 sax读取中获取日期或数字类型的结果值
getNumericCellValue() - Method in class org.dromara.hutool.poi.excel.cell.NullCell
 
getNumericCellValue() - Method in class org.dromara.hutool.poi.excel.cell.VirtualCell
 
getOrCreateCell(Sheet, int, int) - Static method in class org.dromara.hutool.poi.excel.cell.CellUtil
获取或创建指定坐标单元格
getOrCreateCell(Row, int) - Static method in class org.dromara.hutool.poi.excel.cell.CellUtil
获取已有单元格或创建新单元格
getOrCreateCell(String) - Method in class org.dromara.hutool.poi.excel.ExcelBase
获取或创建指定坐标单元格
getOrCreateCell(int, int) - Method in class org.dromara.hutool.poi.excel.ExcelBase
获取或创建指定坐标单元格
getOrCreateCell(XWPFTableRow, int) - Static method in class org.dromara.hutool.poi.word.TableUtil
获取或创建新单元格
存在则直接返回,不存在创建新的单元格
getOrCreateCellStyle(String) - Method in class org.dromara.hutool.poi.excel.ExcelBase
为指定单元格获取或者创建样式,返回样式后可以设置样式内容
getOrCreateCellStyle(int, int) - Method in class org.dromara.hutool.poi.excel.ExcelBase
为指定单元格获取或者创建样式,返回样式后可以设置样式内容
getOrCreateColumnStyle(int) - Method in class org.dromara.hutool.poi.excel.ExcelBase
获取或创建某一列的样式,返回样式后可以设置样式内容
需要注意,此方法返回行样式,设置背景色在单元格设置值后会被覆盖,需要单独设置其单元格的样式。
getOrCreateRow(int) - Method in class org.dromara.hutool.poi.excel.ExcelBase
获取或者创建行
getOrCreateRow(Sheet, int) - Static method in class org.dromara.hutool.poi.excel.RowUtil
获取已有行或创建新行
getOrCreateRow(XWPFTable, int) - Static method in class org.dromara.hutool.poi.word.TableUtil
获取或创建新行
存在则直接返回,不存在创建新的行
getOrCreateRowStyle(int) - Method in class org.dromara.hutool.poi.excel.ExcelBase
获取或创建某一行的样式,返回样式后可以设置样式内容
需要注意,此方法返回行样式,设置背景色在单元格设置值后会被覆盖,需要单独设置其单元格的样式。
getOrCreateSheet(Workbook, String) - Static method in class org.dromara.hutool.poi.excel.SheetUtil
获取或者创建sheet表
如果sheet表在Workbook中已经存在,则获取之,否则创建之
getOrCreateSheet(Workbook, int) - Static method in class org.dromara.hutool.poi.excel.SheetUtil
获取或者创建sheet表
自定义需要读取或写出的Sheet,如果给定的sheet不存在,创建之(命名为默认)
在读取中,此方法用于切换读取的sheet,在写出时,此方法用于新建或者切换sheet
getOriginalLineNumber() - Method in class org.dromara.hutool.poi.csv.CsvRow
获取原始行号,多行情况下为首行行号。
getPhysicalRowCount() - Method in class org.dromara.hutool.poi.excel.ExcelBase
获取有记录的行数,计算方法为: 最后一行序号 - 第一行序号 + 1
getPicType(File) - Static method in class org.dromara.hutool.poi.excel.shape.ExcelPicUtil
获取图片类型
getRange() - Method in class org.dromara.hutool.poi.excel.cell.MergedCell
获取合并单元格范围
getReader(CsvReadConfig) - Static method in class org.dromara.hutool.poi.csv.CsvUtil
获取CSV读取器,调用此方法创建的Reader须自行指定读取的资源
getReader() - Static method in class org.dromara.hutool.poi.csv.CsvUtil
获取CSV读取器,调用此方法创建的Reader须自行指定读取的资源
getReader(Reader, CsvReadConfig) - Static method in class org.dromara.hutool.poi.csv.CsvUtil
获取CSV读取器
getReader(Reader) - Static method in class org.dromara.hutool.poi.csv.CsvUtil
获取CSV读取器
getReader(String) - Static method in class org.dromara.hutool.poi.excel.ExcelUtil
获取Excel读取器,通过调用ExcelReader的read或readXXX方法读取Excel内容
默认调用第一个sheet
getReader(File) - Static method in class org.dromara.hutool.poi.excel.ExcelUtil
获取Excel读取器,通过调用ExcelReader的read或readXXX方法读取Excel内容
默认调用第一个sheet
getReader(String, int) - Static method in class org.dromara.hutool.poi.excel.ExcelUtil
获取Excel读取器,通过调用ExcelReader的read或readXXX方法读取Excel内容
getReader(String, String) - Static method in class org.dromara.hutool.poi.excel.ExcelUtil
获取Excel读取器,通过调用ExcelReader的read或readXXX方法读取Excel内容
getReader(File, int) - Static method in class org.dromara.hutool.poi.excel.ExcelUtil
获取Excel读取器,通过调用ExcelReader的read或readXXX方法读取Excel内容
getReader(File, String) - Static method in class org.dromara.hutool.poi.excel.ExcelUtil
获取Excel读取器,通过调用ExcelReader的read或readXXX方法读取Excel内容
getReader(InputStream) - Static method in class org.dromara.hutool.poi.excel.ExcelUtil
获取Excel读取器,通过调用ExcelReader的read或readXXX方法读取Excel内容
默认调用第一个sheet,读取结束自动关闭流
getReader(InputStream, int) - Static method in class org.dromara.hutool.poi.excel.ExcelUtil
获取Excel读取器,通过调用ExcelReader的read或readXXX方法读取Excel内容
读取结束自动关闭流
getReader(InputStream, String) - Static method in class org.dromara.hutool.poi.excel.ExcelUtil
获取Excel读取器,通过调用ExcelReader的read或readXXX方法读取Excel内容
读取结束自动关闭流
getResult() - Method in class org.dromara.hutool.poi.excel.cell.values.FormulaCellValue
获取结果
getResultType() - Method in class org.dromara.hutool.poi.excel.cell.values.FormulaCellValue
获取结果类型
getRichStringCellValue() - Method in class org.dromara.hutool.poi.excel.cell.NullCell
 
getRichStringCellValue() - Method in class org.dromara.hutool.poi.excel.cell.VirtualCell
 
getRidByIndex(int) - Method in class org.dromara.hutool.poi.excel.sax.SheetRidReader
通过sheet的序号获取rid
getRidByIndexBase0(int) - Method in class org.dromara.hutool.poi.excel.sax.SheetRidReader
通过sheet的序号获取rid
getRidByName(String) - Method in class org.dromara.hutool.poi.excel.sax.SheetRidReader
根据sheet name获取rid,从1开始
getRidByNameBase0(String) - Method in class org.dromara.hutool.poi.excel.sax.SheetRidReader
根据sheet name获取rid,从0开始
getRidBySheetId(int) - Method in class org.dromara.hutool.poi.excel.sax.SheetRidReader
根据sheetId获取rid,从1开始
getRidBySheetIdBase0(int) - Method in class org.dromara.hutool.poi.excel.sax.SheetRidReader
根据sheetId获取rid,从0开始
getRightColor() - Method in class org.dromara.hutool.poi.excel.style.CellBorderStyle
获取右边框的颜色。
getRightStyle() - Method in class org.dromara.hutool.poi.excel.style.CellBorderStyle
获取右边框的样式。
getRow(int) - Method in class org.dromara.hutool.poi.csv.CsvData
获取指定行,从0开始
getRow() - Method in class org.dromara.hutool.poi.excel.cell.NullCell
 
getRow() - Method in class org.dromara.hutool.poi.excel.cell.VirtualCell
 
getRow1() - Method in class org.dromara.hutool.poi.excel.SimpleClientAnchor
 
getRow2() - Method in class org.dromara.hutool.poi.excel.SimpleClientAnchor
 
getRowCount() - Method in class org.dromara.hutool.poi.csv.CsvData
总行数
getRowCount() - Method in class org.dromara.hutool.poi.excel.ExcelBase
获取总行数,计算方法为: 最后一行序号 + 1
getRowIndex() - Method in class org.dromara.hutool.poi.excel.cell.NullCell
 
getRowIndex() - Method in class org.dromara.hutool.poi.excel.cell.VirtualCell
 
getRows() - Method in class org.dromara.hutool.poi.csv.CsvData
获取所有行
getShapePics(Workbook, int) - Static method in class org.dromara.hutool.poi.excel.shape.ExcelPicUtil
获取工作簿指定sheet中绘制的图片列表
getShapePics(Sheet) - Static method in class org.dromara.hutool.poi.excel.shape.ExcelPicUtil
获取工作簿指定sheet中绘制的图片列表
结果中Picture.getClientAnchor()标识位置信息,Picture.getPictureData()标识图片数据
getShapeType() - Method in class org.dromara.hutool.poi.excel.style.ShapeConfig
获取形状类型
getSheet() - Method in class org.dromara.hutool.poi.excel.cell.NullCell
 
getSheet() - Method in class org.dromara.hutool.poi.excel.cell.VirtualCell
 
getSheet() - Method in class org.dromara.hutool.poi.excel.ExcelBase
获取当前Sheet
getSheetCount() - Method in class org.dromara.hutool.poi.excel.ExcelBase
返回工作簿表格数
getSheetIndex() - Method in class org.dromara.hutool.poi.excel.sax.Excel03SaxReader
获得Sheet序号,如果处理所有sheet,获得最大的Sheet序号,从0开始
getSheetName() - Method in class org.dromara.hutool.poi.excel.sax.Excel03SaxReader
获得Sheet名,如果处理所有sheet,获得后一个Sheet名,从0开始
getSheetNames() - Method in class org.dromara.hutool.poi.excel.ExcelBase
获取表名列表
getSheetNames() - Method in class org.dromara.hutool.poi.excel.sax.SheetRidReader
获取所有sheet名称
getSheets() - Method in class org.dromara.hutool.poi.excel.ExcelBase
获取此工作簿所有Sheet表
getSpreadsheetVersion() - Method in class org.dromara.hutool.poi.excel.cell.VirtualCell
 
getStringCellValue() - Method in class org.dromara.hutool.poi.excel.cell.NullCell
 
getStringCellValue() - Method in class org.dromara.hutool.poi.excel.cell.VirtualCell
 
getStyle() - Method in class org.dromara.hutool.poi.excel.RowGroup
获取样式
getStyleFor(CellReference, Object, boolean) - Method in class org.dromara.hutool.poi.excel.style.DefaultStyleSet
 
getStyleFor(CellReference, Object, boolean) - Method in interface org.dromara.hutool.poi.excel.style.StyleSet
获取单元格样式,可以: 根据单元格位置获取定义不同的样式,如首行、首列、偶数行、偶数列等 根据单元格值获取定义不同的样式,如数字、日期等,也可根据是否为标题行定义独立的样式
getStyleSet() - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriter
获取样式集,样式集可以自定义包括:
1.
getTopColor() - Method in class org.dromara.hutool.poi.excel.style.CellBorderStyle
获取上边框的颜色。
getTopStyle() - Method in class org.dromara.hutool.poi.excel.style.CellBorderStyle
获取上边框的样式。
getType(String) - Static method in class org.dromara.hutool.poi.word.PictureTypeUtil
获取图片类型枚举
getValue() - Method in interface org.dromara.hutool.poi.excel.cell.values.CellValue
获取单元格值
getValue() - Method in class org.dromara.hutool.poi.excel.cell.values.CompositeCellValue
 
getValue() - Method in class org.dromara.hutool.poi.excel.cell.values.ErrorCellValue
 
getValue() - Method in class org.dromara.hutool.poi.excel.cell.values.FormulaCellValue
 
getValue() - Method in class org.dromara.hutool.poi.excel.cell.values.NumericCellValue
 
getValue(Attributes) - Method in enum org.dromara.hutool.poi.excel.sax.AttributeName
从属性里列表中获取对应属性值
getValue() - Method in enum org.dromara.hutool.poi.excel.shape.ExcelPicType
获取类型编码
getValue() - Method in enum org.dromara.hutool.poi.excel.style.LineStyle
获取样式编码
getWorkbook() - Method in class org.dromara.hutool.poi.excel.ExcelBase
获取Workbook
getWriter(String, Charset) - Static method in class org.dromara.hutool.poi.csv.CsvUtil
获取CSV生成器(写出器),使用默认配置,覆盖已有文件(如果存在)
getWriter(File, Charset) - Static method in class org.dromara.hutool.poi.csv.CsvUtil
获取CSV生成器(写出器),使用默认配置,覆盖已有文件(如果存在)
getWriter(String, Charset, boolean) - Static method in class org.dromara.hutool.poi.csv.CsvUtil
获取CSV生成器(写出器),使用默认配置
getWriter(File, Charset, boolean) - Static method in class org.dromara.hutool.poi.csv.CsvUtil
获取CSV生成器(写出器),使用默认配置
getWriter(File, Charset, boolean, CsvWriteConfig) - Static method in class org.dromara.hutool.poi.csv.CsvUtil
获取CSV生成器(写出器)
getWriter(Writer) - Static method in class org.dromara.hutool.poi.csv.CsvUtil
获取CSV生成器(写出器)
getWriter(Writer, CsvWriteConfig) - Static method in class org.dromara.hutool.poi.csv.CsvUtil
获取CSV生成器(写出器)
getWriter() - Static method in class org.dromara.hutool.poi.excel.ExcelUtil
获得ExcelWriter,默认写出到第一个sheet
不传入写出的Excel文件路径,只能调用ExcelWriter#flush(OutputStream)方法写出到流
若写出到文件,还需调用ExcelWriter.setTargetFile(File)方法自定义写出的文件,然后调用ExcelWriter.flush()方法写出到文件
getWriter(boolean) - Static method in class org.dromara.hutool.poi.excel.ExcelUtil
获得ExcelWriter,默认写出到第一个sheet
不传入写出的Excel文件路径,只能调用ExcelWriter#flush(OutputStream)方法写出到流
若写出到文件,还需调用ExcelWriter.setTargetFile(File)方法自定义写出的文件,然后调用ExcelWriter.flush()方法写出到文件
getWriter(String) - Static method in class org.dromara.hutool.poi.excel.ExcelUtil
获得ExcelWriter,默认写出到第一个sheet
getWriter(File) - Static method in class org.dromara.hutool.poi.excel.ExcelUtil
获得ExcelWriter,默认写出到第一个sheet,名字为sheet1
getWriter(String, String) - Static method in class org.dromara.hutool.poi.excel.ExcelUtil
getWriter(File, String) - Static method in class org.dromara.hutool.poi.excel.ExcelUtil
getWriter() - Method in class org.dromara.hutool.poi.excel.reader.ExcelReader
获取Excel写出器
在读取Excel并做一定编辑后,获取写出器写出,规则如下: 1.
getWriter() - Static method in class org.dromara.hutool.poi.word.WordUtil
创建Word 07格式的生成器
getWriter(File) - Static method in class org.dromara.hutool.poi.word.WordUtil
创建Word 07格式的生成器
getWriterWithSheet(String) - Static method in class org.dromara.hutool.poi.excel.ExcelUtil
获得ExcelWriter,默认写出到第一个sheet
GlobalPoiConfig - Class in org.dromara.hutool.poi
POI的全局设置
GlobalPoiConfig() - Constructor for class org.dromara.hutool.poi.GlobalPoiConfig
 

H

handle(int, long, List<Object>) - Method in class org.dromara.hutool.poi.excel.sax.handler.AbstractRowHandler
 
handle(int, long, List<Object>) - Method in class org.dromara.hutool.poi.excel.sax.handler.BeanRowHandler
 
handle(int, long, List<Object>) - Method in class org.dromara.hutool.poi.excel.sax.handler.MapRowHandler
 
handle(int, long, List<Object>) - Method in interface org.dromara.hutool.poi.excel.sax.handler.RowHandler
处理一行数据
如果想结束读取,抛出StopReadException即可
handleCell(int, long, int, Object, CellStyle) - Method in interface org.dromara.hutool.poi.excel.sax.handler.RowHandler
处理一个单元格的数据
如果想结束读取,抛出StopReadException即可
handleData(int, long, T) - Method in class org.dromara.hutool.poi.excel.sax.handler.AbstractRowHandler
处理转换后的数据
headerAlias - Variable in class org.dromara.hutool.poi.csv.CsvConfig
标题别名
headerAlias - Variable in class org.dromara.hutool.poi.excel.ExcelConfig
标题行别名
headerLineNo - Variable in class org.dromara.hutool.poi.csv.CsvReadConfig
指定标题行号,-1表示无标题行
HyperlinkCellSetter - Class in org.dromara.hutool.poi.excel.cell.setters
Hyperlink 值单元格设置器

I

ignoreEmptyRow - Variable in class org.dromara.hutool.poi.excel.reader.ExcelReadConfig
是否忽略空行
imgToOfd(Path, Path...) - Static method in class org.dromara.hutool.poi.ofd.DocConverterUtil
多个图片转为ODF
index - Variable in class org.dromara.hutool.poi.excel.sax.SheetDataSaxHandler
 
indexToColName(int) - Static method in class org.dromara.hutool.poi.excel.cell.CellReferenceUtil
将Sheet列号变为列名
insertRow(Sheet, int, int) - Static method in class org.dromara.hutool.poi.excel.RowUtil
插入行
insertRow - Variable in class org.dromara.hutool.poi.excel.writer.ExcelWriteConfig
是否强制插入行
如果为true,则写入行以下的已存在行下移,false则利用填充已有行,不存在再创建行
INSTANCE - Static variable in class org.dromara.hutool.poi.excel.cell.setters.NullCellSetter
默认单例
isClosed - Variable in class org.dromara.hutool.poi.excel.ExcelBase
是否被关闭
isClosed - Variable in class org.dromara.hutool.poi.word.Word07Writer
是否被关闭
isDateFormat(Cell) - Static method in class org.dromara.hutool.poi.excel.ExcelDateUtil
是否日期格式
isDateFormat(Cell, ConditionalFormattingEvaluator) - Static method in class org.dromara.hutool.poi.excel.ExcelDateUtil
判断是否日期格式
isDateFormat(ExcelNumberFormat) - Static method in class org.dromara.hutool.poi.excel.ExcelDateUtil
判断是否日期格式
isDateFormat(int, String) - Static method in class org.dromara.hutool.poi.excel.ExcelDateUtil
判断日期格式
isDateFormat(CellValueRecordInterface, FormatTrackingHSSFListener) - Static method in class org.dromara.hutool.poi.excel.sax.ExcelSaxUtil
判断数字Record中是否为日期格式
isDateFormat(int, String) - Static method in class org.dromara.hutool.poi.excel.sax.ExcelSaxUtil
判断日期格式
isEmpty(Sheet) - Static method in class org.dromara.hutool.poi.excel.SheetUtil
sheet是否为空
isIgnoreEmptyRow() - Method in class org.dromara.hutool.poi.excel.reader.ExcelReadConfig
是否忽略空行
isMergedRegion(Sheet, String) - Static method in class org.dromara.hutool.poi.excel.cell.CellUtil
判断指定的单元格是否是合并单元格
isMergedRegion(Cell) - Static method in class org.dromara.hutool.poi.excel.cell.CellUtil
判断指定的单元格是否是合并单元格
isMergedRegion(Sheet, int, int) - Static method in class org.dromara.hutool.poi.excel.cell.CellUtil
判断指定的单元格是否是合并单元格
isNullOrDefaultStyle(Workbook, CellStyle) - Static method in class org.dromara.hutool.poi.excel.style.StyleUtil
给定样式是否为null(无样式)或默认样式,默认样式为workbook.getCellStyleAt(0)
isPartOfArrayFormulaGroup() - Method in class org.dromara.hutool.poi.excel.cell.NullCell
 
isPartOfArrayFormulaGroup() - Method in class org.dromara.hutool.poi.excel.cell.VirtualCell
 
isXls(InputStream) - Static method in class org.dromara.hutool.poi.excel.ExcelFileUtil
是否为XLS格式的Excel文件(HSSF)
XLS文件主要用于Excel 97~2003创建
此方法会自动调用InputStream.reset()方法
isXlsx() - Method in class org.dromara.hutool.poi.excel.ExcelBase
判断是否为xlsx格式的Excel表(Excel07格式)
isXlsx(InputStream) - Static method in class org.dromara.hutool.poi.excel.ExcelFileUtil
是否为XLSX格式的Excel文件(XSSF)
XLSX文件主要用于Excel 2007+创建
此方法会自动调用InputStream.reset()方法
isXlsx(File) - Static method in class org.dromara.hutool.poi.excel.ExcelFileUtil
是否为XLSX格式的Excel文件(XSSF)
XLSX文件主要用于Excel 2007+创建
iterator() - Method in class org.dromara.hutool.poi.csv.CsvData
 
iterator() - Method in class org.dromara.hutool.poi.csv.CsvReader
 

L

lineDelimiter - Variable in class org.dromara.hutool.poi.csv.CsvWriteConfig
换行符
LineStyle - Enum in org.dromara.hutool.poi.excel.style
SimpleShape中的线条风格枚举
ListSheetReader - Class in org.dromara.hutool.poi.excel.reader.sheet
读取Sheet为List列表形式
ListSheetReader(int, int, boolean) - Constructor for class org.dromara.hutool.poi.excel.reader.sheet.ListSheetReader
构造

M

MapRowHandler - Class in org.dromara.hutool.poi.excel.sax.handler
Map形式的行处理器
将一行数据转换为Map,key为指定行,value为当前行对应位置的值
MapRowHandler(int, int, int) - Constructor for class org.dromara.hutool.poi.excel.sax.handler.MapRowHandler
构造
MapSheetReader - Class in org.dromara.hutool.poi.excel.reader.sheet
读取Sheet为Map的List列表形式
MapSheetReader(int, int, int) - Constructor for class org.dromara.hutool.poi.excel.reader.sheet.MapSheetReader
构造
match(String) - Method in enum org.dromara.hutool.poi.excel.sax.AttributeName
是否匹配给定属性
match(String) - Method in enum org.dromara.hutool.poi.excel.sax.ElementName
给定标签名是否匹配当前标签
MAX_CELL_BIT - Static variable in class org.dromara.hutool.poi.excel.sax.ExcelSaxUtil
列的最大位数
maxColumnCount() - Method in class org.dromara.hutool.poi.excel.RowGroup
分组占用的最大列数,取决于子分组占用列数
maxRowCount() - Method in class org.dromara.hutool.poi.excel.RowGroup
获取最大行数,取决于子分组行数
结果为:标题行占用行数 + 子分组占用行数
merge(int) - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriter
合并当前行的单元格
merge(int, Object) - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriter
合并当前行的单元格,并写入对象到单元格
如果写到单元格中的内容非null,行号自动+1,否则当前行号不变
merge(int, Object, boolean) - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriter
合并某行的单元格,并写入对象到单元格
如果写到单元格中的内容非null,行号自动+1,否则当前行号不变
merge(CellRangeAddress, Object, boolean) - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriter
合并某行的单元格,并写入对象到单元格
merge(CellRangeAddress, Object, CellStyle) - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriter
合并单元格,并写入对象到单元格,使用指定的样式
指定样式传入null,则不使用任何样式
MergedCell - Class in org.dromara.hutool.poi.excel.cell
合并单元格封装
MergedCell(Cell, CellRangeAddress) - Constructor for class org.dromara.hutool.poi.excel.cell.MergedCell
构造
mergingCells(Sheet, CellRangeAddress) - Static method in class org.dromara.hutool.poi.excel.cell.CellUtil
合并单元格,可以根据设置的值来合并行和列
mergingCells(Sheet, CellRangeAddress, CellStyle) - Static method in class org.dromara.hutool.poi.excel.cell.CellUtil
合并单元格,可以根据设置的值来合并行和列

N

next() - Method in class org.dromara.hutool.poi.csv.CsvTokener
读取下一个字符,并记录位置
nextRow() - Method in class org.dromara.hutool.poi.csv.CsvParser
读取下一行数据
NO_POI_ERROR_MSG - Static variable in class org.dromara.hutool.poi.PoiChecker
没有引入POI的错误消息
NullCell - Class in org.dromara.hutool.poi.excel.cell
当单元格不存在时使用此对象表示,得到的值都为null,此对象只用于标注单元格所在位置信息。
NullCell(Row, int) - Constructor for class org.dromara.hutool.poi.excel.cell.NullCell
构造
NullCellSetter - Class in org.dromara.hutool.poi.excel.cell.setters
null 值单元格设置器
NullCellSetter() - Constructor for class org.dromara.hutool.poi.excel.cell.setters.NullCellSetter
 
NumberCellSetter - Class in org.dromara.hutool.poi.excel.cell.setters
Number 值单元格设置器
NumericCellValue - Class in org.dromara.hutool.poi.excel.cell.values
数字类型单元格值
单元格值可能为Long、Double、Date
NumericCellValue(Cell) - Constructor for class org.dromara.hutool.poi.excel.cell.values.NumericCellValue
构造
NumericToIntEditor - Class in org.dromara.hutool.poi.excel.cell.editors
POI中NUMRIC类型的值默认返回的是Double类型,此编辑器用于转换其为int型
NumericToIntEditor() - Constructor for class org.dromara.hutool.poi.excel.cell.editors.NumericToIntEditor
 

O

odfToHtml(Path, Path) - Static method in class org.dromara.hutool.poi.ofd.DocConverterUtil
OFD转HTML
odfToImage(Path, Path, String, double) - Static method in class org.dromara.hutool.poi.ofd.DocConverterUtil
OFD转图片
odfToPdf(Path, Path) - Static method in class org.dromara.hutool.poi.ofd.DocConverterUtil
OFD转PDF
odfToText(Path, Path) - Static method in class org.dromara.hutool.poi.ofd.DocConverterUtil
OFD转文本
of() - Static method in class org.dromara.hutool.poi.csv.CsvReadConfig
默认配置
of(String) - Static method in class org.dromara.hutool.poi.excel.cell.CellRangeUtil
根据字符串表示法创建一个CellRangeAddress对象。
of(int, int, int, int) - Static method in class org.dromara.hutool.poi.excel.cell.CellRangeUtil
根据给定的行和列索引创建一个CellRangeAddress对象。
of(Cell, int, int) - Static method in class org.dromara.hutool.poi.excel.cell.MergedCell
创建MergedCell
of(Cell, CellRangeAddress) - Static method in class org.dromara.hutool.poi.excel.cell.MergedCell
创建MergedCell
of(Cell, CellType, CellEditor) - Static method in class org.dromara.hutool.poi.excel.cell.values.CompositeCellValue
创建CompositeCellValue
of(String) - Static method in class org.dromara.hutool.poi.excel.RowGroup
创建分组
of(String) - Static method in enum org.dromara.hutool.poi.excel.sax.CellDataType
类型字符串转为枚举
of(String) - Static method in enum org.dromara.hutool.poi.excel.sax.ElementName
解析支持的节点名枚举
of(CellStyle) - Static method in class org.dromara.hutool.poi.excel.style.CellBorderStyle
根据CellStyle创建单元格边框样式对象。
of(BorderStyle, IndexedColors) - Static method in class org.dromara.hutool.poi.excel.style.CellBorderStyle
创建单元格边框样式对象,四边框样式保持一致。
of() - Static method in class org.dromara.hutool.poi.excel.style.ShapeConfig
创建一个形状配置
OfdWriter - Class in org.dromara.hutool.poi.ofd
OFD文件生成器
OfdWriter(File) - Constructor for class org.dromara.hutool.poi.ofd.OfdWriter
构造
OfdWriter(Path) - Constructor for class org.dromara.hutool.poi.ofd.OfdWriter
构造
OfdWriter(OutputStream) - Constructor for class org.dromara.hutool.poi.ofd.OfdWriter
构造
ofSingleColumn(int, int) - Static method in class org.dromara.hutool.poi.excel.cell.CellRangeUtil
根据给定的行和列索引创建一个单列CellRangeAddress对象,从首行开始。
ofSingleColumn(int, int, int) - Static method in class org.dromara.hutool.poi.excel.cell.CellRangeUtil
根据给定的行和列索引创建一个单列CellRangeAddress对象。
ofSingleRow(int, int) - Static method in class org.dromara.hutool.poi.excel.cell.CellRangeUtil
根据给定的行和列索引创建一个单行的CellRangeAddress对象,从首列开始。
ofSingleRow(int, int, int) - Static method in class org.dromara.hutool.poi.excel.cell.CellRangeUtil
根据给定的行和列索引创建一个单行的CellRangeAddress对象。
onlyAlias - Variable in class org.dromara.hutool.poi.excel.writer.ExcelWriteConfig
是否只保留别名对应的字段
org.dromara.hutool.poi - package org.dromara.hutool.poi
POI封装实现
Java针对MS Office的操作的库屈指可数,比较有名的就是Apache的POI库。
org.dromara.hutool.poi.csv - package org.dromara.hutool.poi.csv
提供CSV文件读写的封装,入口为CsvUtil
规范见:https://datatracker.ietf.org/doc/html/rfc4180
org.dromara.hutool.poi.excel - package org.dromara.hutool.poi.excel
POI中对Excel读写的封装,入口为ExcelUtil
org.dromara.hutool.poi.excel.cell - package org.dromara.hutool.poi.excel.cell
Excel中单元格相关类,入口为CellUtil
org.dromara.hutool.poi.excel.cell.editors - package org.dromara.hutool.poi.excel.cell.editors
单元格值编辑器,内部使用
org.dromara.hutool.poi.excel.cell.setters - package org.dromara.hutool.poi.excel.cell.setters
单元格值自定义设置器,主要用于Excel数据导出,用户通过自定义此接口,实现可定制化的单元格值设定
org.dromara.hutool.poi.excel.cell.values - package org.dromara.hutool.poi.excel.cell.values
不同类型单元格值的封装
org.dromara.hutool.poi.excel.reader - package org.dromara.hutool.poi.excel.reader
数据读取接口及实现,此包中定义了SheetReader,通过实现此接口,实现sheet中的数据读取为不同类型。
org.dromara.hutool.poi.excel.reader.sheet - package org.dromara.hutool.poi.excel.reader.sheet
Excel Sheet读取实现
org.dromara.hutool.poi.excel.sax - package org.dromara.hutool.poi.excel.sax
Sax方式操作Excel方式的封装
org.dromara.hutool.poi.excel.sax.handler - package org.dromara.hutool.poi.excel.sax.handler
Sax读取中行处理器的定义和实现
org.dromara.hutool.poi.excel.shape - package org.dromara.hutool.poi.excel.shape
Excel中绘图相关操作
org.dromara.hutool.poi.excel.style - package org.dromara.hutool.poi.excel.style
Excel样式封装,入口为:StyleUtil
org.dromara.hutool.poi.excel.writer - package org.dromara.hutool.poi.excel.writer
Excel生成封装
org.dromara.hutool.poi.ofd - package org.dromara.hutool.poi.ofd
开放版式文档(Open Fixed-layout Document )封装,基于ofdrw(https://gitee.com/Trisia/ofdrw)
org.dromara.hutool.poi.word - package org.dromara.hutool.poi.word
POI中对Word操作封装

P

parse(Reader) - Method in class org.dromara.hutool.poi.csv.CsvBaseReader
构建 CsvParser
parse(XSSFReader) - Static method in class org.dromara.hutool.poi.excel.sax.SheetRidReader
XSSFReader中解析sheet名、sheet id等相关信息
passAndGet() - Method in class org.dromara.hutool.poi.excel.writer.SheetDataWriter
跳过当前行,并获取下一行的行号
passCurrentRow() - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriter
跳过当前行
passRows(int) - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriter
跳过指定行数
passRowsAndGet(int) - Method in class org.dromara.hutool.poi.excel.writer.SheetDataWriter
跳过指定行数,并获取当前行号
pdfToOfd(Path, Path, int...) - Static method in class org.dromara.hutool.poi.ofd.DocConverterUtil
PDF转为ODF
PicCellSetter - Class in org.dromara.hutool.poi.excel.cell.setters
图片单元格值设置器
PicCellSetter(byte[]) - Constructor for class org.dromara.hutool.poi.excel.cell.setters.PicCellSetter
构造,默认PNG图片
PicCellSetter(File) - Constructor for class org.dromara.hutool.poi.excel.cell.setters.PicCellSetter
构造
PicCellSetter(byte[], ExcelPicType) - Constructor for class org.dromara.hutool.poi.excel.cell.setters.PicCellSetter
构造
PictureTypeUtil - Class in org.dromara.hutool.poi.word
图片类型工具类
PictureTypeUtil() - Constructor for class org.dromara.hutool.poi.word.PictureTypeUtil
 
PoiChecker - Class in org.dromara.hutool.poi
POI引入检查器
PoiChecker() - Constructor for class org.dromara.hutool.poi.PoiChecker
 
POIException - Exception in org.dromara.hutool.poi
POI异常
POIException(Throwable) - Constructor for exception org.dromara.hutool.poi.POIException
构造
POIException(String) - Constructor for exception org.dromara.hutool.poi.POIException
构造
POIException(String, Object...) - Constructor for exception org.dromara.hutool.poi.POIException
构造
POIException(String, Throwable) - Constructor for exception org.dromara.hutool.poi.POIException
构造
POIException(String, Throwable, boolean, boolean) - Constructor for exception org.dromara.hutool.poi.POIException
构造
POIException(Throwable, String, Object...) - Constructor for exception org.dromara.hutool.poi.POIException
构造
processRecord(Record) - Method in class org.dromara.hutool.poi.excel.sax.Excel03SaxReader
HSSFListener 监听方法,处理 Record

R

read(File) - Method in class org.dromara.hutool.poi.csv.CsvBaseReader
读取CSV文件,默认UTF-8编码
read(File, Charset) - Method in class org.dromara.hutool.poi.csv.CsvBaseReader
读取CSV文件
read(Path) - Method in class org.dromara.hutool.poi.csv.CsvBaseReader
读取CSV文件,默认UTF-8编码
read(Path, Charset) - Method in class org.dromara.hutool.poi.csv.CsvBaseReader
读取CSV文件
read(Reader, boolean) - Method in class org.dromara.hutool.poi.csv.CsvBaseReader
从Reader中读取CSV数据,读取后关闭Reader
read(Reader, boolean, Class<T>) - Method in class org.dromara.hutool.poi.csv.CsvBaseReader
从Reader中读取CSV数据并转换为Bean列表,读取后关闭Reader。
read(String, Class<T>) - Method in class org.dromara.hutool.poi.csv.CsvBaseReader
从字符串中读取CSV数据并转换为Bean列表,读取后关闭Reader。
read(Reader, boolean, SerConsumer<CsvRow>) - Method in class org.dromara.hutool.poi.csv.CsvBaseReader
从Reader中读取CSV数据,读取后关闭Reader
read() - Method in class org.dromara.hutool.poi.csv.CsvReader
读取CSV文件,此方法只能调用一次
调用此方法的前提是构造中传入文件路径或Reader
read(SerConsumer<CsvRow>) - Method in class org.dromara.hutool.poi.csv.CsvReader
读取CSV数据,此方法只能调用一次
调用此方法的前提是构造中传入文件路径或Reader
read() - Method in class org.dromara.hutool.poi.excel.reader.ExcelReader
读取工作簿中指定的Sheet的所有行列数据
read(int) - Method in class org.dromara.hutool.poi.excel.reader.ExcelReader
读取工作簿中指定的Sheet
read(int, int) - Method in class org.dromara.hutool.poi.excel.reader.ExcelReader
读取工作簿中指定的Sheet,此方法会把第一行作为标题行,替换标题别名
read(int, int, boolean) - Method in class org.dromara.hutool.poi.excel.reader.ExcelReader
读取工作簿中指定的Sheet
read(SerBiConsumer<Cell, Object>) - Method in class org.dromara.hutool.poi.excel.reader.ExcelReader
读取工作簿中指定的Sheet,此方法为类流处理方式,当读到指定单元格时,会调用CellEditor接口
用户通过实现此接口,可以更加灵活地处理每个单元格的数据。
read(int, int, SerBiConsumer<Cell, Object>) - Method in class org.dromara.hutool.poi.excel.reader.ExcelReader
读取工作簿中指定的Sheet,此方法为类流处理方式,当读到指定单元格时,会调用CellEditor接口
用户通过实现此接口,可以更加灵活地处理每个单元格的数据。
read(int, int, int) - Method in class org.dromara.hutool.poi.excel.reader.ExcelReader
读取Excel为Map的列表
Map表示一行,标题为key,单元格内容为value
read(int, int, Class<T>) - Method in class org.dromara.hutool.poi.excel.reader.ExcelReader
读取Excel为Bean的列表
read(int, int, int, Class<T>) - Method in class org.dromara.hutool.poi.excel.reader.ExcelReader
读取Excel为Bean的列表
read(SheetReader<T>) - Method in class org.dromara.hutool.poi.excel.reader.ExcelReader
读取数据为指定类型
read(Sheet) - Method in class org.dromara.hutool.poi.excel.reader.sheet.BeanSheetReader
 
read(Sheet) - Method in class org.dromara.hutool.poi.excel.reader.sheet.ColumnSheetReader
 
read(Sheet) - Method in class org.dromara.hutool.poi.excel.reader.sheet.ListSheetReader
 
read(Sheet) - Method in class org.dromara.hutool.poi.excel.reader.sheet.MapSheetReader
 
read(Sheet) - Method in interface org.dromara.hutool.poi.excel.reader.sheet.SheetReader
读取数据
read(Sheet) - Method in class org.dromara.hutool.poi.excel.reader.sheet.WalkSheetReader
 
read(File, String) - Method in class org.dromara.hutool.poi.excel.sax.Excel03SaxReader
 
read(InputStream, String) - Method in class org.dromara.hutool.poi.excel.sax.Excel03SaxReader
 
read(POIFSFileSystem, String) - Method in class org.dromara.hutool.poi.excel.sax.Excel03SaxReader
读取
read(File, int) - Method in class org.dromara.hutool.poi.excel.sax.Excel07SaxReader
 
read(File, String) - Method in class org.dromara.hutool.poi.excel.sax.Excel07SaxReader
 
read(InputStream, int) - Method in class org.dromara.hutool.poi.excel.sax.Excel07SaxReader
 
read(InputStream, String) - Method in class org.dromara.hutool.poi.excel.sax.Excel07SaxReader
 
read(OPCPackage, int) - Method in class org.dromara.hutool.poi.excel.sax.Excel07SaxReader
开始读取Excel,Sheet编号从0开始计数
read(OPCPackage, String) - Method in class org.dromara.hutool.poi.excel.sax.Excel07SaxReader
开始读取Excel,Sheet编号从0开始计数
read(XSSFReader, String) - Method in class org.dromara.hutool.poi.excel.sax.Excel07SaxReader
开始读取Excel,Sheet编号从0开始计数
read(File, String) - Method in interface org.dromara.hutool.poi.excel.sax.ExcelSaxReader
开始读取Excel
read(InputStream, String) - Method in interface org.dromara.hutool.poi.excel.sax.ExcelSaxReader
开始读取Excel,读取结束后并不关闭流
read(String) - Method in interface org.dromara.hutool.poi.excel.sax.ExcelSaxReader
开始读取Excel,读取所有sheet
read(File) - Method in interface org.dromara.hutool.poi.excel.sax.ExcelSaxReader
开始读取Excel,读取所有sheet
read(InputStream) - Method in interface org.dromara.hutool.poi.excel.sax.ExcelSaxReader
开始读取Excel,读取所有sheet,读取结束后并不关闭流
read(String, int) - Method in interface org.dromara.hutool.poi.excel.sax.ExcelSaxReader
开始读取Excel
read(String, String) - Method in interface org.dromara.hutool.poi.excel.sax.ExcelSaxReader
开始读取Excel
read(File, int) - Method in interface org.dromara.hutool.poi.excel.sax.ExcelSaxReader
开始读取Excel
read(InputStream, int) - Method in interface org.dromara.hutool.poi.excel.sax.ExcelSaxReader
开始读取Excel,读取结束后并不关闭流
read(XSSFReader) - Method in class org.dromara.hutool.poi.excel.sax.SheetRidReader
读取Wordkbook的XML中sheet标签中sheetId和rid的对应关系
readAll() - Method in class org.dromara.hutool.poi.excel.reader.ExcelReader
读取Excel为Map的列表,读取所有行,默认第一行做为标题,数据从第二行开始
Map表示一行,标题为key,单元格内容为value
readAll(Class<T>) - Method in class org.dromara.hutool.poi.excel.reader.ExcelReader
读取Excel为Bean的列表,读取所有行,默认第一行做为标题,数据从第二行开始
readAsText(Workbook, boolean) - Static method in class org.dromara.hutool.poi.excel.ExcelExtractorUtil
读取为文本格式
使用ExcelExtractor 提取Excel内容
readAsText(boolean) - Method in class org.dromara.hutool.poi.excel.reader.ExcelReader
读取为文本格式
使用ExcelExtractor 提取Excel内容
readBySax(String, int, RowHandler) - Static method in class org.dromara.hutool.poi.excel.ExcelUtil
通过Sax方式读取Excel,同时支持03和07格式
readBySax(String, String, RowHandler) - Static method in class org.dromara.hutool.poi.excel.ExcelUtil
通过Sax方式读取Excel,同时支持03和07格式
readBySax(File, int, RowHandler) - Static method in class org.dromara.hutool.poi.excel.ExcelUtil
通过Sax方式读取Excel,同时支持03和07格式
readBySax(File, String, RowHandler) - Static method in class org.dromara.hutool.poi.excel.ExcelUtil
通过Sax方式读取Excel,同时支持03和07格式
readBySax(InputStream, int, RowHandler) - Static method in class org.dromara.hutool.poi.excel.ExcelUtil
通过Sax方式读取Excel,同时支持03和07格式
readBySax(InputStream, String, RowHandler) - Static method in class org.dromara.hutool.poi.excel.ExcelUtil
通过Sax方式读取Excel,同时支持03和07格式
readCellValue(int, int) - Method in class org.dromara.hutool.poi.excel.reader.ExcelReader
读取某个单元格的值
readColumn(int, int) - Method in class org.dromara.hutool.poi.excel.reader.ExcelReader
读取工作簿中指定的Sheet中指定列
readColumn(int, int, int) - Method in class org.dromara.hutool.poi.excel.reader.ExcelReader
读取工作簿中指定的Sheet中指定列
readFrom(InputStream, ContentHandler) - Static method in class org.dromara.hutool.poi.excel.sax.ExcelSaxUtil
从Excel的XML文档中读取内容,并使用ContentHandler处理
readFromStr(String) - Method in class org.dromara.hutool.poi.csv.CsvBaseReader
从字符串中读取CSV数据
readFromStr(String, SerConsumer<CsvRow>) - Method in class org.dromara.hutool.poi.csv.CsvBaseReader
从字符串中读取CSV数据
readMapList(Reader, boolean) - Method in class org.dromara.hutool.poi.csv.CsvBaseReader
从Reader中读取CSV数据,结果为Map,读取后关闭Reader。
readPics() - Method in class org.dromara.hutool.poi.excel.reader.ExcelReader
读取绘制的图片列表
readRow(int) - Method in class org.dromara.hutool.poi.excel.reader.ExcelReader
读取某一行数据
readRow(Row, CellEditor) - Static method in class org.dromara.hutool.poi.excel.RowUtil
读取一行
readRow(Row, int, int, CellEditor) - Static method in class org.dromara.hutool.poi.excel.RowUtil
读取一行
remove(Cell) - Static method in class org.dromara.hutool.poi.excel.cell.CellUtil
移除指定单元格
removeCellComment() - Method in class org.dromara.hutool.poi.excel.cell.NullCell
 
removeCellComment() - Method in class org.dromara.hutool.poi.excel.cell.VirtualCell
 
removeFormula() - Method in class org.dromara.hutool.poi.excel.cell.NullCell
 
removeFormulaImpl() - Method in class org.dromara.hutool.poi.excel.cell.VirtualCell
 
removeHeaderAlias(String) - Method in class org.dromara.hutool.poi.csv.CsvConfig
去除标题别名
removeHeaderAlias(String) - Method in class org.dromara.hutool.poi.excel.ExcelConfig
去除标题别名
removeHeaderAlias(String) - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriteConfig
 
removeHyperlink() - Method in class org.dromara.hutool.poi.excel.cell.NullCell
 
removeHyperlink() - Method in class org.dromara.hutool.poi.excel.cell.VirtualCell
 
removeRow(Row) - Static method in class org.dromara.hutool.poi.excel.RowUtil
从工作表中删除指定的行,此方法修复sheet.shiftRows删除行时会拆分合并的单元格的问题
renameSheet(String) - Method in class org.dromara.hutool.poi.excel.ExcelBase
重命名当前sheet
renameSheet(String) - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriter
重命名当前sheet
renameSheet(int, String) - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriter
重命名sheet
reset() - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriter
重置Writer,包括: 1.
resetRow() - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriter
重置当前行为0
resetRow() - Method in class org.dromara.hutool.poi.excel.writer.SheetDataWriter
重置当前行为0
RichTextCellSetter - Class in org.dromara.hutool.poi.excel.cell.setters
RichTextString 值单元格设置器
RID_PREFIX - Static variable in interface org.dromara.hutool.poi.excel.sax.ExcelSaxReader
sheet r:Id前缀
RowGroup - Class in org.dromara.hutool.poi.excel
分组行
用于标识和写出复杂表头。
RowGroup(String) - Constructor for class org.dromara.hutool.poi.excel.RowGroup
构造
RowHandler - Interface in org.dromara.hutool.poi.excel.sax.handler
Sax方式读取Excel行处理器
rowHandler - Variable in class org.dromara.hutool.poi.excel.sax.SheetDataSaxHandler
行处理器
RowUtil - Class in org.dromara.hutool.poi.excel
Excel中的行Row封装工具类
RowUtil() - Constructor for class org.dromara.hutool.poi.excel.RowUtil
 

S

setAlign(HorizontalAlignment, VerticalAlignment) - Method in class org.dromara.hutool.poi.excel.style.DefaultStyleSet
设置cell文本对齐样式
setAlign(CellStyle, HorizontalAlignment, VerticalAlignment) - Static method in class org.dromara.hutool.poi.excel.style.StyleUtil
设置cell文本对齐样式
setAlwaysDelimitText(boolean) - Method in class org.dromara.hutool.poi.csv.CsvWriteConfig
设置是否始终使用文本分隔符,文本包装符,默认false,按需添加
setAlwaysDelimitText(boolean) - Method in class org.dromara.hutool.poi.csv.CsvWriter
设置是否始终使用文本分隔符,文本包装符,默认false,按需添加
setAnchorType(ClientAnchor.AnchorType) - Method in class org.dromara.hutool.poi.excel.SimpleClientAnchor
 
setAsActiveCell() - Method in class org.dromara.hutool.poi.excel.cell.NullCell
 
setAsActiveCell() - Method in class org.dromara.hutool.poi.excel.cell.VirtualCell
 
setBackgroundColor(IndexedColors, boolean) - Method in class org.dromara.hutool.poi.excel.style.DefaultStyleSet
设置单元格背景样式
setBeginLineNo(long) - Method in class org.dromara.hutool.poi.csv.CsvReadConfig
设置开始的行(包括),默认0,此处为原始文件行号
setBlank() - Method in class org.dromara.hutool.poi.excel.cell.NullCell
 
setBorder(BorderStyle, IndexedColors) - Method in class org.dromara.hutool.poi.excel.style.DefaultStyleSet
定义所有单元格的边框类型
setBorder(CellStyle, BorderStyle, IndexedColors) - Static method in class org.dromara.hutool.poi.excel.style.StyleUtil
设置cell的四个边框粗细和颜色
setBorder(CellStyle, CellBorderStyle) - Static method in class org.dromara.hutool.poi.excel.style.StyleUtil
设置cell的四个边框粗细和颜色
setBorderStyle(Sheet, CellRangeAddress, CellBorderStyle) - Static method in class org.dromara.hutool.poi.excel.style.StyleUtil
根据CellStyle设置指定范围边框样式
setBorderStyle(Sheet, CellRangeAddress, CellStyle) - Static method in class org.dromara.hutool.poi.excel.style.StyleUtil
根据CellStyle设置指定范围边框样式
setBottomColor(Short) - Method in class org.dromara.hutool.poi.excel.style.CellBorderStyle
设置底边框的颜色。
setBottomStyle(BorderStyle) - Method in class org.dromara.hutool.poi.excel.style.CellBorderStyle
设置底边框的样式。
setCellComment(Comment) - Method in class org.dromara.hutool.poi.excel.cell.NullCell
 
setCellComment(Comment) - Method in class org.dromara.hutool.poi.excel.cell.VirtualCell
 
setCellEditor(CellEditor) - Method in class org.dromara.hutool.poi.excel.ExcelConfig
设置单元格值处理逻辑
当Excel中的值并不能满足我们的读取要求时,通过传入一个编辑接口,可以对单元格值自定义,例如对数字和日期类型值转换为字符串等
setCellErrorValue(byte) - Method in class org.dromara.hutool.poi.excel.cell.NullCell
 
setCellErrorValue(byte) - Method in class org.dromara.hutool.poi.excel.cell.VirtualCell
 
setCellFormula(String) - Method in class org.dromara.hutool.poi.excel.cell.NullCell
 
setCellFormulaImpl(String) - Method in class org.dromara.hutool.poi.excel.cell.VirtualCell
 
setCellStyle(CellStyle) - Method in class org.dromara.hutool.poi.excel.cell.MergedCell
设置单元格样式
setCellStyle(CellStyle) - Method in class org.dromara.hutool.poi.excel.cell.NullCell
 
setCellStyle(CellStyle) - Method in class org.dromara.hutool.poi.excel.cell.VirtualCell
 
setCellType(CellType) - Method in class org.dromara.hutool.poi.excel.cell.NullCell
Deprecated.
setCellTypeImpl(CellType) - Method in class org.dromara.hutool.poi.excel.cell.VirtualCell
 
setCellValue(Cell, Object, StyleSet, boolean, CellEditor) - Static method in class org.dromara.hutool.poi.excel.cell.CellUtil
设置单元格值
根据传入的styleSet自动匹配样式
当为头部样式时默认赋值头部样式,但是头部中如果有数字、日期等类型,将按照数字、日期样式设置
setCellValue(Cell, Object, CellStyle, CellEditor) - Static method in class org.dromara.hutool.poi.excel.cell.CellUtil
设置单元格值
根据传入的styleSet自动匹配样式
当为头部样式时默认赋值头部样式,但是头部中如果有数字、日期等类型,将按照数字、日期样式设置
setCellValue(Cell, Object, CellEditor) - Static method in class org.dromara.hutool.poi.excel.cell.CellUtil
设置单元格值
根据传入的styleSet自动匹配样式
当为头部样式时默认赋值头部样式,但是头部中如果有数字、日期等类型,将按照数字、日期样式设置
setCellValue(Cell, Object) - Static method in class org.dromara.hutool.poi.excel.cell.CellUtil
设置单元格值
根据传入的styleSet自动匹配样式
当为头部样式时默认赋值头部样式,但是头部中如果有数字、日期等类型,将按照数字、日期样式设置
setCellValue(double) - Method in class org.dromara.hutool.poi.excel.cell.NullCell
 
setCellValue(Date) - Method in class org.dromara.hutool.poi.excel.cell.NullCell
 
setCellValue(LocalDateTime) - Method in class org.dromara.hutool.poi.excel.cell.NullCell
 
setCellValue(Calendar) - Method in class org.dromara.hutool.poi.excel.cell.NullCell
 
setCellValue(RichTextString) - Method in class org.dromara.hutool.poi.excel.cell.NullCell
 
setCellValue(String) - Method in class org.dromara.hutool.poi.excel.cell.NullCell
 
setCellValue(boolean) - Method in class org.dromara.hutool.poi.excel.cell.NullCell
 
setCellValue(boolean) - Method in class org.dromara.hutool.poi.excel.cell.VirtualCell
 
setCellValueImpl(double) - Method in class org.dromara.hutool.poi.excel.cell.VirtualCell
 
setCellValueImpl(Date) - Method in class org.dromara.hutool.poi.excel.cell.VirtualCell
 
setCellValueImpl(LocalDateTime) - Method in class org.dromara.hutool.poi.excel.cell.VirtualCell
 
setCellValueImpl(Calendar) - Method in class org.dromara.hutool.poi.excel.cell.VirtualCell
 
setCellValueImpl(String) - Method in class org.dromara.hutool.poi.excel.cell.VirtualCell
 
setCellValueImpl(RichTextString) - Method in class org.dromara.hutool.poi.excel.cell.VirtualCell
 
setChildren(List<RowGroup>) - Method in class org.dromara.hutool.poi.excel.RowGroup
设置子分组
setCol1(int) - Method in class org.dromara.hutool.poi.excel.SimpleClientAnchor
 
setCol2(int) - Method in class org.dromara.hutool.poi.excel.SimpleClientAnchor
 
setColor(CellStyle, IndexedColors, FillPatternType) - Static method in class org.dromara.hutool.poi.excel.style.StyleUtil
给cell设置颜色
setColor(CellStyle, short, FillPatternType) - Static method in class org.dromara.hutool.poi.excel.style.StyleUtil
给cell设置颜色(即单元格背景色)
setColor(XSSFCellStyle, XSSFColor, FillPatternType) - Static method in class org.dromara.hutool.poi.excel.style.StyleUtil
给cell设置颜色(即单元格背景色)
setColumnStyle(int, CellStyle) - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriter
设置列的默认样式
setColumnStyleIfHasData(int, int, CellStyle) - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriter
设置整个列的样式 仅对数据单元格设置 write后调用 ExcelWriter.setColumnStyle(int, org.apache.poi.ss.usermodel.CellStyle) 这个方法加的样式会使整列没有数据的单元格也有样式 特别是加背景色时很不美观 且有数据的单元格样式会被StyleSet中的样式覆盖掉
setColumnWidth(int, int) - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriter
设置列宽(单位为一个字符的宽度,例如传入width为10,表示10个字符的宽度)
setComment(Cell, String, String) - Static method in class org.dromara.hutool.poi.excel.cell.CellUtil
为特定单元格添加批注
setComment(Cell, String, String, ClientAnchor) - Static method in class org.dromara.hutool.poi.excel.cell.CellUtil
为特定单元格添加批注
setCommentCharacter(Character) - Method in class org.dromara.hutool.poi.csv.CsvConfig
设置 注释符号,用于区分注释行,null表示忽略注释
setConfig(C) - Method in class org.dromara.hutool.poi.excel.ExcelBase
设置Excel配置
setConfig(ExcelWriteConfig) - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriter
 
setContainsHeader(boolean) - Method in class org.dromara.hutool.poi.csv.CsvBaseReader
设置是否首行做为标题行,默认false
setContainsHeader(boolean) - Method in class org.dromara.hutool.poi.csv.CsvReadConfig
设置是否首行做为标题行,默认false
当设置为true时,默认标题行号是CsvReadConfig.beginLineNofalse为-1,表示无行号
setCurrentRow(int) - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriter
设置当前所在行
setCurrentRow(int) - Method in class org.dromara.hutool.poi.excel.writer.SheetDataWriter
设置当前所在行
setCurrentRowToEnd() - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriter
定位到最后一行的后边,用于追加数据
setDdeSafe(boolean) - Method in class org.dromara.hutool.poi.csv.CsvWriteConfig
设置是否动态数据交换安全,使用文本包装符包裹可能存在DDE攻击的内容
见:https://blog.csdn.net/weixin_41924764/article/details/108665746
setDdeSafe(boolean) - Method in class org.dromara.hutool.poi.csv.CsvWriter
设置是否启用dde安全模式,默认false,按需修改
防止使用Excel打开csv文件时存在dde攻击风险
注意此方法会在字段第一个字符包含= + - @时添加'作为前缀,防止公式执行
setDefaultRowHeight(int) - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriter
设置默认行高,值为一个点的高度
setDx1(int) - Method in class org.dromara.hutool.poi.excel.SimpleClientAnchor
 
setDx2(int) - Method in class org.dromara.hutool.poi.excel.SimpleClientAnchor
 
setDy1(int) - Method in class org.dromara.hutool.poi.excel.SimpleClientAnchor
 
setDy2(int) - Method in class org.dromara.hutool.poi.excel.SimpleClientAnchor
 
setEndingLineBreak(boolean) - Method in class org.dromara.hutool.poi.csv.CsvWriteConfig
文件末尾是否添加换行符
按照https://datatracker.ietf.org/doc/html/rfc4180#section-2 规范,末尾换行符可有可无。
setEndLineNo(long) - Method in class org.dromara.hutool.poi.csv.CsvReadConfig
设置结束的行(包括),默认不限制,此处为原始文件行号
setErrorOnDifferentFieldCount(boolean) - Method in class org.dromara.hutool.poi.csv.CsvBaseReader
设置每行字段个数不同时是否抛出异常,默认false
setErrorOnDifferentFieldCount(boolean) - Method in class org.dromara.hutool.poi.csv.CsvReadConfig
设置每行字段个数不同时是否抛出异常,默认false
setExcelConfig(ExcelReadConfig) - Method in class org.dromara.hutool.poi.excel.reader.sheet.AbstractSheetReader
设置Excel配置
setExcelConfig(ExcelReadConfig) - Method in class org.dromara.hutool.poi.excel.reader.sheet.BeanSheetReader
设置Excel配置
setFieldSeparator(char) - Method in class org.dromara.hutool.poi.csv.CsvBaseReader
设置字段分隔符,默认逗号','
setFieldSeparator(char) - Method in class org.dromara.hutool.poi.csv.CsvConfig
设置字段分隔符,默认逗号','
setFillColor(Color) - Method in class org.dromara.hutool.poi.excel.style.ShapeConfig
设置填充颜色,null表示不填充
setFont(short, short, String, boolean) - Method in class org.dromara.hutool.poi.excel.style.DefaultStyleSet
设置全局字体
setFont(Font, boolean) - Method in class org.dromara.hutool.poi.excel.style.DefaultStyleSet
设置全局字体
setFontStyle(Font, short, short, String) - Static method in class org.dromara.hutool.poi.excel.style.StyleUtil
设置字体样式
setFreezePane(int) - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriter
设置窗口冻结,之前冻结的窗口会被覆盖,如果rowSplit为0表示取消冻结
setFreezePane(int, int) - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriter
设置窗口冻结,之前冻结的窗口会被覆盖,如果colSplit和rowSplit为0表示取消冻结
setHeaderAlias(Map<String, String>) - Method in class org.dromara.hutool.poi.csv.CsvConfig
设置标题行的别名Map
setHeaderAlias(Map<String, String>) - Method in class org.dromara.hutool.poi.excel.ExcelConfig
设置标题行的别名Map
setHeaderAlias(Map<String, String>) - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriteConfig
 
setHeaderLineNo(long) - Method in class org.dromara.hutool.poi.csv.CsvReadConfig
设置标题行行号,默认-1,表示无标题行
setHeaderLocationCache(Map<String, Integer>) - Method in class org.dromara.hutool.poi.excel.writer.SheetDataWriter
设置标题位置映射缓存
setHeaderOrFooter(String, Align, boolean) - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriter
设置Excel页眉或页脚
setHyperlink(Hyperlink) - Method in class org.dromara.hutool.poi.excel.cell.NullCell
 
setHyperlink(Hyperlink) - Method in class org.dromara.hutool.poi.excel.cell.VirtualCell
 
setIgnoreEmptyRow(boolean) - Method in class org.dromara.hutool.poi.excel.reader.ExcelReadConfig
设置是否忽略空行
setInsertRow(boolean) - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriteConfig
设置是否插入行,如果为true,则写入行以下的已存在行下移,false则利用填充已有行,不存在时创建行
setLeftColor(Short) - Method in class org.dromara.hutool.poi.excel.style.CellBorderStyle
设置左边框的颜色。
setLeftStyle(BorderStyle) - Method in class org.dromara.hutool.poi.excel.style.CellBorderStyle
设置左边框的样式。
setLineColor(Color) - Method in class org.dromara.hutool.poi.excel.style.ShapeConfig
设置线条颜色
setLineDelimiter(char[]) - Method in class org.dromara.hutool.poi.csv.CsvWriteConfig
设置换行符
setLineDelimiter(char[]) - Method in class org.dromara.hutool.poi.csv.CsvWriter
设置换行符
setLineStyle(LineStyle) - Method in class org.dromara.hutool.poi.excel.style.ShapeConfig
设置线条样式
setLineWidth(int) - Method in class org.dromara.hutool.poi.excel.style.ShapeConfig
设置线条宽度
setMaxEntrySize(long) - Static method in class org.dromara.hutool.poi.GlobalPoiConfig
设置单个Zip文件中最大文件大小,默认为4GB,即32位zip格式的最大值。
setMaxTextSize(long) - Static method in class org.dromara.hutool.poi.GlobalPoiConfig
设置解压前文本的最大字符数,超过抛出异常。
setMinInflateRatio(double) - Static method in class org.dromara.hutool.poi.GlobalPoiConfig
设置解压时的最小压缩比例
为了避免`Zip Bomb`,POI中设置了最小压缩比例,这个比例为: 压缩后的大小/解压后的大小 POI的默认值是0.01(即最小压缩到1%),如果文档中的文件压缩比例小于这个值,就会报错。
setName(String) - Method in class org.dromara.hutool.poi.excel.RowGroup
设置分组名称
setOnlyAlias(boolean) - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriteConfig
设置是否只保留别名中的字段值,如果为true,则不设置alias的字段将不被输出,false表示原样输出 Bean中设置@Alias时,setOnlyAlias是无效的,这个参数只和addHeaderAlias配合使用,原因是注解是Bean内部的操作,而addHeaderAlias是Writer的操作,不互通。
setRightColor(Short) - Method in class org.dromara.hutool.poi.excel.style.CellBorderStyle
设置右边框的颜色。
setRightStyle(BorderStyle) - Method in class org.dromara.hutool.poi.excel.style.CellBorderStyle
设置右边框的样式。
setRow1(int) - Method in class org.dromara.hutool.poi.excel.SimpleClientAnchor
 
setRow2(int) - Method in class org.dromara.hutool.poi.excel.SimpleClientAnchor
 
setRowHandler(RowHandler) - Method in class org.dromara.hutool.poi.excel.sax.Excel07SaxReader
设置行处理器
setRowHandler(RowHandler) - Method in class org.dromara.hutool.poi.excel.sax.SheetDataSaxHandler
设置行处理器
setRowHeight(int, int) - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriter
设置行高,值为一个点的高度
setRowStyle(int, CellStyle) - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriter
设置行样式
setRowStyleIfHasData(int, CellStyle) - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriter
对数据行整行加自定义样式 仅对数据单元格设置 write后调用 ExcelWriter.setRowStyle(int, org.apache.poi.ss.usermodel.CellStyle) 这个方法加的样式会使整行没有数据的单元格也有样式 特别是加背景色时很不美观 且有数据的单元格样式会被StyleSet中的样式覆盖掉
setShapeType(ShapeType) - Method in class org.dromara.hutool.poi.excel.style.ShapeConfig
设置形状类型
setSheet(String) - Method in class org.dromara.hutool.poi.excel.ExcelBase
自定义需要读取或写出的Sheet,如果给定的sheet不存在,创建之。
setSheet(int) - Method in class org.dromara.hutool.poi.excel.ExcelBase
自定义需要读取或写出的Sheet,如果给定的sheet不存在,创建之(命名为默认)
在读取中,此方法用于切换读取的sheet,在写出时,此方法用于新建或者切换sheet
setSheet(Sheet) - Method in class org.dromara.hutool.poi.excel.ExcelBase
设置自定义Sheet
setSheet(int) - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriter
 
setSheet(String) - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriter
 
setSkipEmptyRows(boolean) - Method in class org.dromara.hutool.poi.csv.CsvBaseReader
设置是否跳过空白行,默认true
setSkipEmptyRows(boolean) - Method in class org.dromara.hutool.poi.csv.CsvReadConfig
设置是否跳过空白行,默认true
setStyle(CellStyle) - Method in class org.dromara.hutool.poi.excel.RowGroup
设置样式
setStyle(CellStyle, String) - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriter
设置某个单元格的样式
此方法用于多个单元格共享样式的情况
可以调用ExcelBase.getOrCreateCellStyle(int, int) 方法创建或取得一个样式对象。
setStyle(CellStyle, int, int) - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriter
设置某个单元格的样式
此方法用于多个单元格共享样式的情况
可以调用ExcelBase.getOrCreateCellStyle(int, int) 方法创建或取得一个样式对象。
setStyleSet(StyleSet) - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriter
设置样式集,如果不使用样式,传入null
setStyleSet(StyleSet) - Method in class org.dromara.hutool.poi.excel.writer.SheetDataWriter
设置样式表
setTargetFile(File) - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriter
设置写出的目标文件
注意这个文件不能存在,存在则ExcelWriter.flush()时会被覆盖
setTargetFile(File) - Method in class org.dromara.hutool.poi.word.Word07Writer
设置写出的目标文件
setTextDelimiter(char) - Method in class org.dromara.hutool.poi.csv.CsvBaseReader
设置 文本分隔符,文本包装符,默认双引号'"'
setTextDelimiter(char) - Method in class org.dromara.hutool.poi.csv.CsvConfig
设置 文本分隔符,文本包装符,默认双引号'"'
setTo(CellStyle) - Method in class org.dromara.hutool.poi.excel.style.CellBorderStyle
将边框样式和颜色设置到CellStyle中
setTopColor(Short) - Method in class org.dromara.hutool.poi.excel.style.CellBorderStyle
设置上边框的颜色。
setTopStyle(BorderStyle) - Method in class org.dromara.hutool.poi.excel.style.CellBorderStyle
设置上边框的样式。
setTrimField(boolean) - Method in class org.dromara.hutool.poi.csv.CsvReadConfig
设置每个字段是否去除两边空白符
如果字段以CsvConfig.textDelimiter包围,则保留两边空格
setValue(Object) - Method in class org.dromara.hutool.poi.excel.cell.MergedCell
设置单元格值
setValue(Cell) - Method in class org.dromara.hutool.poi.excel.cell.setters.BooleanCellSetter
 
setValue(Cell) - Method in class org.dromara.hutool.poi.excel.cell.setters.CalendarCellSetter
 
setValue(Cell) - Method in interface org.dromara.hutool.poi.excel.cell.setters.CellSetter
自定义单元格值设置,同时可以设置单元格样式、格式等信息
setValue(Cell) - Method in class org.dromara.hutool.poi.excel.cell.setters.CharSequenceCellSetter
 
setValue(Cell) - Method in class org.dromara.hutool.poi.excel.cell.setters.DateCellSetter
 
setValue(Cell) - Method in class org.dromara.hutool.poi.excel.cell.setters.HyperlinkCellSetter
 
setValue(Cell) - Method in class org.dromara.hutool.poi.excel.cell.setters.NullCellSetter
 
setValue(Cell) - Method in class org.dromara.hutool.poi.excel.cell.setters.NumberCellSetter
 
setValue(Cell) - Method in class org.dromara.hutool.poi.excel.cell.setters.PicCellSetter
 
setValue(Cell) - Method in class org.dromara.hutool.poi.excel.cell.setters.RichTextCellSetter
 
setValue(Cell) - Method in class org.dromara.hutool.poi.excel.cell.setters.TemporalAccessorCellSetter
 
setValue(Cell) - Method in class org.dromara.hutool.poi.excel.cell.values.FormulaCellValue
 
setWrapText() - Method in class org.dromara.hutool.poi.excel.style.DefaultStyleSet
设置单元格文本自动换行
ShapeConfig - Class in org.dromara.hutool.poi.excel.style
形状配置 用于在Excel中定义形状的样式,包括形状类型、线条样式、线条宽度、线条颜色、填充颜色等
ShapeConfig() - Constructor for class org.dromara.hutool.poi.excel.style.ShapeConfig
 
sharedStrings - Variable in class org.dromara.hutool.poi.excel.sax.SheetDataSaxHandler
 
sheet - Variable in class org.dromara.hutool.poi.excel.ExcelBase
Excel中对应的Sheet
SHEET_NAME_PREFIX - Static variable in interface org.dromara.hutool.poi.excel.sax.ExcelSaxReader
sheet name前缀
SheetDataSaxHandler - Class in org.dromara.hutool.poi.excel.sax
sheetData标签内容读取处理器 <sheetData></sheetData>
SheetDataSaxHandler(RowHandler, boolean) - Constructor for class org.dromara.hutool.poi.excel.sax.SheetDataSaxHandler
构造
SheetDataWriter - Class in org.dromara.hutool.poi.excel.writer
Sheet数据写出器
此对象只封装将数据写出到Sheet中,并不刷新到文件
SheetDataWriter(Sheet, ExcelWriteConfig, StyleSet) - Constructor for class org.dromara.hutool.poi.excel.writer.SheetDataWriter
构造
sheetIndex - Variable in class org.dromara.hutool.poi.excel.sax.SheetDataSaxHandler
 
SheetReader<T> - Interface in org.dromara.hutool.poi.excel.reader.sheet
Excel Sheet读取接口,通过实现此接口,将Sheet中的数据读取为不同类型。
SheetRidReader - Class in org.dromara.hutool.poi.excel.sax
在Sax方式读取Excel时,读取sheet标签中sheetId和rid的对应关系,类似于: <sheet name="Sheet6" sheetId="4" r:id="rId6"/> 读取结果为: {"4": "6"}
SheetRidReader() - Constructor for class org.dromara.hutool.poi.excel.sax.SheetRidReader
 
SheetTemplateWriter - Class in org.dromara.hutool.poi.excel.writer
模板Excel写入器
解析已有模板,并填充模板中的变量为数据
SheetTemplateWriter(Sheet, ExcelWriteConfig) - Constructor for class org.dromara.hutool.poi.excel.writer.SheetTemplateWriter
构造
SheetUtil - Class in org.dromara.hutool.poi.excel
Sheet相关工具类
SheetUtil() - Constructor for class org.dromara.hutool.poi.excel.SheetUtil
 
SimpleClientAnchor - Class in org.dromara.hutool.poi.excel
简单的ClientAnchor实现,此对象表示一个图形或绘图在Excel中的位置和大小,参数表示: dx1和dy1表示在左上角单元格中的偏移量,col1和row1表示左上角单元格 dx2和dy2表示在右下角单元格中的偏移量,col2和row2表示右下角单元格 图示见:https://www.cnblogs.com/sunyl/p/7527703.html
SimpleClientAnchor(int, int, int, int) - Constructor for class org.dromara.hutool.poi.excel.SimpleClientAnchor
构造
通过定义左上角和右下角的单元格,创建一个ClientAnchor对象
默认偏移为0,默认type为: AnchorType#MOVE_AND_RESIZE.
SimpleClientAnchor(int, int, int, int, int, int, int, int) - Constructor for class org.dromara.hutool.poi.excel.SimpleClientAnchor
构造
通过定义左上角和右下角的单元格,以及单元格中的偏移量,创建一个ClientAnchor对象
默认type为: AnchorType#MOVE_AND_RESIZE.
skipEmptyRows - Variable in class org.dromara.hutool.poi.csv.CsvReadConfig
是否跳过空白行,默认true
startElement(String, String, String, Attributes) - Method in class org.dromara.hutool.poi.excel.sax.SheetDataSaxHandler
读到一个xml开始标签时的回调处理方法
startElement(String, String, String, Attributes) - Method in class org.dromara.hutool.poi.excel.sax.SheetRidReader
 
startRowIndex - Variable in class org.dromara.hutool.poi.excel.sax.handler.AbstractRowHandler
读取起始行(包含,从0开始计数)
StopReadException - Exception in org.dromara.hutool.poi.excel.sax
读取结束异常,用于标记读取结束
Sax方式读取时,如果用户在RowHandler中抛出此异常,表示读取结束,此时不再读取其他数据
StopReadException() - Constructor for exception org.dromara.hutool.poi.excel.sax.StopReadException
构造
StopReadException(String) - Constructor for exception org.dromara.hutool.poi.excel.sax.StopReadException
构造
stream() - Method in class org.dromara.hutool.poi.csv.CsvReader
根据Reader创建Stream,以便使用stream方式读取csv行
StyleSet - Interface in org.dromara.hutool.poi.excel.style
样式集合接口
通过自定义样式集合,可根据单元格不同、值的不同设置不同的样式
stylesTable - Variable in class org.dromara.hutool.poi.excel.sax.SheetDataSaxHandler
 
StyleUtil - Class in org.dromara.hutool.poi.excel.style
Excel样式工具类
StyleUtil() - Constructor for class org.dromara.hutool.poi.excel.style.StyleUtil
 

T

TableUtil - Class in org.dromara.hutool.poi.word
Word中表格相关工具
TableUtil() - Constructor for class org.dromara.hutool.poi.word.TableUtil
 
targetFile - Variable in class org.dromara.hutool.poi.excel.ExcelBase
目标文件,如果用户读取为流或自行创建的Workbook或Sheet,此参数为null
targetFile - Variable in class org.dromara.hutool.poi.word.Word07Writer
目标文件
TemplateContext - Class in org.dromara.hutool.poi.excel.writer
模板上下文,记录了模板中变量所在的Cell
TemplateContext(Sheet) - Constructor for class org.dromara.hutool.poi.excel.writer.TemplateContext
构造
TemporalAccessorCellSetter - Class in org.dromara.hutool.poi.excel.cell.setters
TemporalAccessor 值单元格设置器
textDelimiter - Variable in class org.dromara.hutool.poi.csv.CsvConfig
文本包装符,默认双引号'"'
textToOfd(Path, Path, double) - Static method in class org.dromara.hutool.poi.ofd.DocConverterUtil
纯文本转为ODF
toBean(Class<T>) - Method in class org.dromara.hutool.poi.csv.CsvRow
一行数据转换为Bean对象,忽略转换错误
toCellReference(String) - Static method in class org.dromara.hutool.poi.excel.cell.CellReferenceUtil
将Excel中地址标识符(例如A11,B5)等转换为行列表示
例如:A11 -》 col:0,row:10,B5-》col:1,row:4
toString() - Method in class org.dromara.hutool.poi.csv.CsvData
 
toString() - Method in class org.dromara.hutool.poi.csv.CsvRow
 
toString() - Method in class org.dromara.hutool.poi.excel.cell.values.FormulaCellValue
 
toString() - Method in class org.dromara.hutool.poi.excel.writer.TemplateContext
 
TrimEditor - Class in org.dromara.hutool.poi.excel.cell.editors
去除String类型的单元格值两边的空格
TrimEditor() - Constructor for class org.dromara.hutool.poi.excel.cell.editors.TrimEditor
 
trimField - Variable in class org.dromara.hutool.poi.csv.CsvReadConfig
每个字段是否去除两边空白符

V

valueOf(String) - Static method in enum org.dromara.hutool.poi.excel.sax.AttributeName
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.dromara.hutool.poi.excel.sax.CellDataType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.dromara.hutool.poi.excel.sax.ElementName
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.dromara.hutool.poi.excel.shape.ExcelPicType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.dromara.hutool.poi.excel.style.Align
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.dromara.hutool.poi.excel.style.LineStyle
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.dromara.hutool.poi.excel.sax.AttributeName
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.dromara.hutool.poi.excel.sax.CellDataType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.dromara.hutool.poi.excel.sax.ElementName
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.dromara.hutool.poi.excel.shape.ExcelPicType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.dromara.hutool.poi.excel.style.Align
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.dromara.hutool.poi.excel.style.LineStyle
Returns an array containing the constants of this enum type, in the order they are declared.
VirtualCell - Class in org.dromara.hutool.poi.excel.cell
虚拟单元格,表示一个单元格的位置、值和样式,但是并非实际创建的单元格
注意:虚拟单元格设置值和样式均不会在实际工作簿中生效
VirtualCell(Cell, int, int) - Constructor for class org.dromara.hutool.poi.excel.cell.VirtualCell
构造
VirtualCell(Cell, int, int, Object) - Constructor for class org.dromara.hutool.poi.excel.cell.VirtualCell
构造
VirtualCell(Row, int, int) - Constructor for class org.dromara.hutool.poi.excel.cell.VirtualCell
构造

W

walk(Sheet, CellHandler) - Static method in class org.dromara.hutool.poi.excel.SheetUtil
遍历Sheet中的所有单元格
walk(Sheet, CellRangeAddress, CellHandler) - Static method in class org.dromara.hutool.poi.excel.SheetUtil
遍历Sheet中的指定区域单元格
WalkSheetReader - Class in org.dromara.hutool.poi.excel.reader.sheet
读取Excel的Sheet,使用Consumer方式处理单元格
WalkSheetReader(int, int, SerBiConsumer<Cell, Object>) - Constructor for class org.dromara.hutool.poi.excel.reader.sheet.WalkSheetReader
构造
Word07Writer - Class in org.dromara.hutool.poi.word
Word docx生成器
Word07Writer() - Constructor for class org.dromara.hutool.poi.word.Word07Writer
构造
Word07Writer(File) - Constructor for class org.dromara.hutool.poi.word.Word07Writer
构造
Word07Writer(XWPFDocument) - Constructor for class org.dromara.hutool.poi.word.Word07Writer
构造
Word07Writer(XWPFDocument, File) - Constructor for class org.dromara.hutool.poi.word.Word07Writer
构造
WordUtil - Class in org.dromara.hutool.poi.word
Word工具类
WordUtil() - Constructor for class org.dromara.hutool.poi.word.WordUtil
 
workbook - Variable in class org.dromara.hutool.poi.excel.ExcelBase
工作簿
WorkbookUtil - Class in org.dromara.hutool.poi.excel
Excel工作簿Workbook相关工具类
WorkbookUtil() - Constructor for class org.dromara.hutool.poi.excel.WorkbookUtil
 
write(String[]...) - Method in class org.dromara.hutool.poi.csv.CsvWriter
将多行写出到Writer
write(Iterable<?>) - Method in class org.dromara.hutool.poi.csv.CsvWriter
将多行写出到Writer
write(CsvData) - Method in class org.dromara.hutool.poi.csv.CsvWriter
将一个 CsvData 集合写出到Writer
write(Iterable<?>) - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriter
写出数据,本方法只是将数据写入Workbook中的Sheet,并不写出到文件
写出的起始行为当前行号,可使用ExcelWriter.getCurrentRow()方法调用,根据写出的的行数,当前行号自动增加 默认的,当当前行号为0时,写出标题(如果为Map或Bean),否则不写标题 data中元素支持的类型有: 1.
write(Iterable<?>, boolean) - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriter
写出数据,本方法只是将数据写入Workbook中的Sheet,并不写出到文件
写出的起始行为当前行号,可使用ExcelWriter.getCurrentRow()方法调用,根据写出的的行数,当前行号自动增加 data中元素支持的类型有: 1.
write(Iterable<?>, Comparator<String>) - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriter
写出数据,本方法只是将数据写入Workbook中的Sheet,并不写出到文件
写出的起始行为当前行号,可使用ExcelWriter.getCurrentRow()方法调用,根据写出的的行数,当前行号自动增加 data中元素支持的类型有: 1.
writeBeans(Iterable<?>, String...) - Method in class org.dromara.hutool.poi.csv.CsvWriter
将一个Bean集合写出到Writer,并自动生成表头
writeBeans(Iterable<?>, boolean, String...) - Method in class org.dromara.hutool.poi.csv.CsvWriter
将一个Bean集合写出到Writer,并自动生成表头
writeBook(Workbook, OutputStream) - Static method in class org.dromara.hutool.poi.excel.WorkbookUtil
将Excel Workbook刷出到输出流,不关闭流
writeCellValue(String, Object) - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriter
给指定单元格赋值,使用默认单元格样式
writeCellValue(int, int, Object) - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriter
给指定单元格赋值,使用默认单元格样式
writeCellValue(int, int, Object, boolean) - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriter
给指定单元格赋值,使用默认单元格样式
writeCol(Map<?, ? extends Iterable<?>>, boolean) - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriter
从第1列开始按列写入数据(index 从0开始)
本方法只是将数据写入Workbook中的Sheet,并不写出到文件
写出的起始行为当前行号,可使用ExcelWriter.getCurrentRow()方法调用,根据写出的的行数,当前行号自动+1
writeCol(Map<?, ? extends Iterable<?>>, int, boolean) - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriter
从指定列开始按列写入数据(index 从0开始)
本方法只是将数据写入Workbook中的Sheet,并不写出到文件
写出的起始行为当前行号,可使用ExcelWriter.getCurrentRow()方法调用,根据写出的的行数,当前行号自动+1
writeCol(Object, Iterable<?>, boolean) - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriter
为第一列写入数据
本方法只是将数据写入Workbook中的Sheet,并不写出到文件
写出的起始行为当前行号,可使用ExcelWriter.getCurrentRow()方法调用,根据写出的的行数,当前行号自动+1
writeCol(Object, int, Iterable<?>, boolean) - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriter
为第指定列写入数据
本方法只是将数据写入Workbook中的Sheet,并不写出到文件
写出的起始行为当前行号,可使用ExcelWriter.getCurrentRow()方法调用,根据写出的的行数,当前行号自动+1
writeComment(String) - Method in class org.dromara.hutool.poi.csv.CsvWriter
写出一行注释,注释符号可自定义
如果注释符不存在,则抛出异常
writeHeader(RowGroup) - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriter
写出分组标题行
writeHeader(int, int, int, RowGroup) - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriter
写出分组标题行
writeHeader(int, int, int, RowGroup) - Method in class org.dromara.hutool.poi.excel.writer.SheetDataWriter
写出分组标题行
writeHeaderLine(String...) - Method in class org.dromara.hutool.poi.csv.CsvWriter
写出一行头部行,支持标题别名
writeHeaderRow(Iterable<?>) - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriter
写出一行标题数据
本方法只是将数据写入Workbook中的Sheet,并不写出到文件
写出的起始行为当前行号,可使用ExcelWriter.getCurrentRow()方法调用,根据写出的的行数,当前行号自动+1
writeHeaderRow(Iterable<?>) - Method in class org.dromara.hutool.poi.excel.writer.SheetDataWriter
写出一行标题数据,标题数据不替换别名
本方法只是将数据写入Workbook中的Sheet,并不写出到文件
写出的起始行为当前行号,可使用SheetDataWriter.getCurrentRow()方法调用,根据写出的的行数,当前行号自动+1
writeLine(String...) - Method in class org.dromara.hutool.poi.csv.CsvWriter
写出一行
writeLine() - Method in class org.dromara.hutool.poi.csv.CsvWriter
追加新行(换行)
writeLineShape(SimpleClientAnchor) - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriter
绘制线条
writeLineShape(SimpleClientAnchor, LineStyle, int, Color) - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriter
绘制线条
writePic(File, int, int, int, int) - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriter
写出数据,本方法只是将数据写入Workbook中的Sheet,并不写出到文件
添加图片到当前sheet中 / 默认图片类型png / 默认的起始坐标和结束坐标都为0
writePic(File, SimpleClientAnchor) - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriter
写出数据,本方法只是将数据写入Workbook中的Sheet,并不写出到文件
添加图片到当前sheet中 / 默认图片类型png
writePic(File, ExcelPicType, SimpleClientAnchor) - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriter
写出数据,本方法只是将数据写入Workbook中的Sheet,并不写出到文件
添加图片到当前sheet中
writePic(byte[], ExcelPicType, SimpleClientAnchor) - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriter
写出数据,本方法只是将数据写入Workbook中的Sheet,并不写出到文件
添加图片到当前sheet中
writePicTo(Picture, File) - Static method in class org.dromara.hutool.poi.excel.shape.ExcelPicUtil
写入图片到文件
writePicTo(PictureData, File) - Static method in class org.dromara.hutool.poi.excel.shape.ExcelPicUtil
写入图片到文件
writeRow(Row, Iterable<?>, CellEditor) - Static method in class org.dromara.hutool.poi.excel.RowUtil
写一行数据,无样式,非标题
writeRow(Row, Iterable<?>, StyleSet, boolean, CellEditor) - Static method in class org.dromara.hutool.poi.excel.RowUtil
写一行数据
writeRow(Object, boolean) - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriter
写出一行,根据rowBean数据类型不同,写出情况如下: 1、如果为Iterable,直接写出一行 2、如果为Map,isWriteKeyAsHead为true写出两行,Map的keys做为一行,values做为第二行,否则只写出一行values 3、如果为Bean,转为Map写出,isWriteKeyAsHead为true写出两行,Map的keys做为一行,values做为第二行,否则只写出一行values
writeRow(Iterable<?>) - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriter
写出一行数据
本方法只是将数据写入Workbook中的Sheet,并不写出到文件
写出的起始行为当前行号,可使用ExcelWriter.getCurrentRow()方法调用,根据写出的的行数,当前行号自动+1
writeRow(Object, boolean) - Method in class org.dromara.hutool.poi.excel.writer.SheetDataWriter
写出一行,根据rowBean数据类型不同,写出情况如下: 1、如果为Iterable,直接写出一行 2、如果为Map,isWriteKeyAsHead为true写出两行,Map的keys做为一行,values做为第二行,否则只写出一行values 3、如果为Bean,转为Map写出,isWriteKeyAsHead为true写出两行,Map的keys做为一行,values做为第二行,否则只写出一行values
writeRow(Map<?, ?>, boolean) - Method in class org.dromara.hutool.poi.excel.writer.SheetDataWriter
将一个Map写入到Excel,isWriteKeyAsHead为true写出两行,Map的keys做为一行,values做为第二行,否则只写出一行values
如果rowMap为空(包括null),则写出空行
writeRow(Iterable<?>) - Method in class org.dromara.hutool.poi.excel.writer.SheetDataWriter
写出一行数据
本方法只是将数据写入Workbook中的Sheet,并不写出到文件
写出的起始行为当前行号,可使用SheetDataWriter.getCurrentRow()方法调用,根据写出的的行数,当前行号自动+1
writeRow(XWPFTableRow, Object, boolean) - Static method in class org.dromara.hutool.poi.word.TableUtil
写一行数据
writeRow(XWPFTableRow, Map<?, ?>, boolean) - Static method in class org.dromara.hutool.poi.word.TableUtil
写行数据
writeRow(XWPFTableRow, Iterable<?>) - Static method in class org.dromara.hutool.poi.word.TableUtil
写行数据
writeSimpleShape(SimpleClientAnchor, ShapeConfig) - Method in class org.dromara.hutool.poi.excel.writer.ExcelWriter
绘制简单形状
writeTable(XWPFTable, Iterable<?>) - Static method in class org.dromara.hutool.poi.word.TableUtil
为table填充数据

X

XLS_CONTENT_TYPE - Static variable in class org.dromara.hutool.poi.excel.ExcelUtil
xls的ContentType
XLSX_CONTENT_TYPE - Static variable in class org.dromara.hutool.poi.excel.ExcelUtil
xlsx的ContentType
A B C D E F G H I L M N O P R S T V W X 
Skip navigation links

Copyright © 2025. All rights reserved.