@TopNS(prefix={"","r"}, value="workbook", uri={"http://schemas.openxmlformats.org/spreadsheetml/2006/main","http://schemas.openxmlformats.org/officeDocument/2006/relationships"}) public class XMLWorkbookWriter extends Object implements IWorkbookWriter
| 构造器和说明 |
|---|
XMLWorkbookWriter() |
XMLWorkbookWriter(Workbook workbook) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected Path |
createTemp() |
RelManager |
getRelManager() |
String |
getSuffix()
The Workbook suffix
|
Workbook |
getWorkbook() |
protected IWorksheetWriter |
getWorksheetWriter(Sheet sheet) |
protected void |
reMarkPath(Path zip,
Path 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 |
writeTo(Path path)
Write the workbook file to ${path}
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpom, reMarkPathpublic XMLWorkbookWriter()
public XMLWorkbookWriter(Workbook workbook)
public Workbook getWorkbook()
public RelManager getRelManager()
public void setWorkbook(Workbook workbook)
setWorkbook 在接口中 IWorkbookWriterworkbook - the global workbook contextpublic String getSuffix()
getSuffix 在接口中 IWorkbookWriterpublic void writeTo(Path path) throws IOException
writeTo 在接口中 Storablepath - the storage pathIOException - if io error occurpublic void writeTo(OutputStream os) throws IOException
IWorkbookWriterwriteTo 在接口中 IWorkbookWriteros - the out put streamIOException - if io error occurpublic void writeTo(File file) throws IOException
IWorkbookWriterwriteTo 在接口中 IWorkbookWriterfile - the storage fileIOException - if io error occurprotected Path createTemp() throws IOException, ExcelWriteException
protected void reMarkPath(Path zip, Path path) throws IOException
IOExceptionpublic Path template() throws IOException
IWorkbookWritertemplate 在接口中 IWorkbookWriterIOException - if io error occurprotected IWorksheetWriter getWorksheetWriter(Sheet sheet)
Copyright © 2022. All rights reserved.