public class ExcelExtractorUtil extends Object
ExcelExtractor工具封装| Constructor and Description |
|---|
ExcelExtractorUtil() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.poi.ss.extractor.ExcelExtractor |
getExtractor(org.apache.poi.ss.usermodel.Workbook wb)
获取
ExcelExtractor 对象 |
static String |
readAsText(org.apache.poi.ss.usermodel.Workbook wb,
boolean withSheetName)
读取为文本格式
使用 ExcelExtractor 提取Excel内容 |
public static org.apache.poi.ss.extractor.ExcelExtractor getExtractor(org.apache.poi.ss.usermodel.Workbook wb)
ExcelExtractor 对象wb - WorkbookExcelExtractorpublic static String readAsText(org.apache.poi.ss.usermodel.Workbook wb, boolean withSheetName)
ExcelExtractor 提取Excel内容wb - WorkbookwithSheetName - 是否附带sheet名Copyright © 2025. All rights reserved.