mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
add method
This commit is contained in:
parent
98e46d7634
commit
9d5d55bf6a
@ -55,6 +55,7 @@ public class ExcelReader extends ExcelBase<ExcelReader> {
|
||||
*
|
||||
* @param excelFilePath Excel文件路径,绝对路径或相对于ClassPath路径
|
||||
* @param sheetName sheet名,第一个默认是sheet1
|
||||
* @since 5.8.0
|
||||
*/
|
||||
public ExcelReader(String excelFilePath, String sheetName) {
|
||||
this(FileUtil.file(excelFilePath), sheetName);
|
||||
|
@ -160,7 +160,7 @@ public class ExcelUtil {
|
||||
* @param bookFilePath Excel文件路径,绝对路径或相对于ClassPath路径
|
||||
* @param sheetName sheet名,第一个默认是sheet1
|
||||
* @return {@link ExcelReader}
|
||||
* @since 3.1.1
|
||||
* @since 5.8.0
|
||||
*/
|
||||
public static ExcelReader getReader(String bookFilePath, String sheetName) {
|
||||
try {
|
||||
|
Loading…
x
Reference in New Issue
Block a user