public class BaseExcelWriteable extends Object implements SafeCloseable
Modifier and Type | Field and Description |
---|---|
protected org.apache.poi.ss.usermodel.Workbook |
workbook |
Constructor and Description |
---|
BaseExcelWriteable(org.apache.poi.ss.usermodel.Workbook workbook) |
Modifier and Type | Method and Description |
---|---|
void |
close()
安全关闭
|
org.apache.poi.ss.usermodel.Workbook |
getWorkbook() |
BaseExcelWriteable |
write(File file) |
BaseExcelWriteable |
write(File file,
String password) |
BaseExcelWriteable |
write(OutputStream out) |
BaseExcelWriteable |
write(OutputStream out,
String password) |
protected BaseExcelWriteable |
write(OutputStream out,
String password,
boolean close) |
BaseExcelWriteable |
write(String file) |
BaseExcelWriteable |
write(String file,
String password) |
public BaseExcelWriteable(org.apache.poi.ss.usermodel.Workbook workbook)
public BaseExcelWriteable write(String file)
public BaseExcelWriteable write(File file)
public BaseExcelWriteable write(OutputStream out)
public BaseExcelWriteable write(String file, String password)
public BaseExcelWriteable write(File file, String password)
public BaseExcelWriteable write(OutputStream out, String password)
protected BaseExcelWriteable write(OutputStream out, String password, boolean close)
public org.apache.poi.ss.usermodel.Workbook getWorkbook()
public void close()
SafeCloseable
close
in interface SafeCloseable
close
in interface Closeable
close
in interface AutoCloseable
Copyright © 2024. All rights reserved.