public interface IWorkbookWriter extends Storable
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getSuffix()
The Workbook suffix
|
static Properties |
pom() |
default Path |
reMarkPath(Path src,
Path rootPath,
String fileName)
Move src file into output path
|
void |
setWorkbook(Workbook workbook)
Setting workbook
|
Path |
template()
Write with template
|
void |
writeTo(File file)
Write to file ${file}
|
void |
writeTo(OutputStream os)
Write to OutputStream ${os}
|
void setWorkbook(Workbook workbook)
workbook - the global workbook contextString getSuffix()
void writeTo(OutputStream os) throws IOException
os - the out put streamIOException - if io error occurvoid writeTo(File file) throws IOException
file - the storage fileIOException - if io error occurPath template() throws IOException
IOException - if io error occurdefault Path reMarkPath(Path src, Path rootPath, String fileName) throws IOException
src - the src filerootPath - the output root pathfileName - the output file nameIOException - if I/O error occurstatic Properties pom()
Copyright © 2020. All rights reserved.