public class CSVWorkbookWriter extends Object implements IWorkbookWriter
| 构造器和说明 |
|---|
CSVWorkbookWriter() |
CSVWorkbookWriter(Workbook workbook) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected Path |
createTemp() |
String |
getSuffix()
The Comma-Separated Values format suffix
|
protected IWorksheetWriter |
getWorksheetWriter(Sheet sheet) |
protected void |
reMarkPath(Path src,
Path path) |
void |
setWorkbook(Workbook workbook)
Setting workbook
|
Path |
template()
The Comma-Separated Values format do not support.
|
void |
writeTo(File file)
Write to file
|
void |
writeTo(OutputStream os)
Write to OutputStream
|
void |
writeTo(Path root)
Write to disk
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpom, reMarkPathpublic CSVWorkbookWriter()
public CSVWorkbookWriter(Workbook workbook)
public void setWorkbook(Workbook workbook)
IWorkbookWritersetWorkbook 在接口中 IWorkbookWriterworkbook - the global workbook contextpublic String getSuffix()
getSuffix 在接口中 IWorkbookWriterpublic void writeTo(OutputStream os) throws IOException
writeTo 在接口中 IWorkbookWriteros - the out put streamIOException - if io error occurpublic void writeTo(File file) throws IOException
writeTo 在接口中 IWorkbookWriterfile - the storage fileIOException - if io error occurpublic Path template()
template 在接口中 IWorkbookWriterUnsupportedOperationException - not supportpublic void writeTo(Path root) throws IOException
StorablewriteTo 在接口中 Storableroot - the parent pathIOException - if io error occurprotected void reMarkPath(Path src, Path path) throws IOException
IOExceptionprotected Path createTemp() throws IOException, ExcelWriteException
protected IWorksheetWriter getWorksheetWriter(Sheet sheet)
Copyright © 2022. All rights reserved.