Sheet.ColumnautoOdd, autoSize, cellValueAndStyle, columns, comments, copyCount, copySheet, extProp, extPropMark, forceExport, headerReady, headStyle, headStyleIndex, hidden, id, LOGGER, name, nonHeader, oddFill, relManager, rowBlock, rows, sheetWriter, shouldClose, waterMark, width, workbook| 构造器和说明 |
|---|
CSVSheet()
Constructor worksheet
|
CSVSheet(InputStream is)
Constructor worksheet
|
CSVSheet(Path path)
Constructor worksheet
|
CSVSheet(Reader reader)
Constructor worksheet
|
CSVSheet(String name,
InputStream is)
Constructor worksheet
|
CSVSheet(String name,
Path path)
Constructor worksheet
|
CSVSheet(String name,
Reader reader)
Constructor worksheet
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
checkColumnLimit()
Check the limit of columns
|
void |
close()
Release resources
|
protected Column[] |
getHeaderColumns()
Returns the header column info
The copy sheet will use the parent worksheet header information.
|
protected void |
resetBlockData()
Reset the row-block data
|
CSVSheet |
setHasHeader(boolean hasHeader)
Setting header flag
|
addRel, afterSheetAccess, autoSize, buildHeadStyle, cancelForceExport, cancelOddStyle, clone, createComments, defaultHeadStyle, defaultHeadStyleIndex, findRel, fixSize, fixSize, forceExport, getAndSortHeaderColumns, getAutoOdd, getAutoSize, getComments, getCopySheetName, getDefaultWidth, getExtPropAsMap, getExtPropValue, getFileName, getForceExport, getHeadStyle, getHeadStyleIndex, getId, getName, getNonHeader, getOddFill, getRowBlockSize, getRowLimit, getSst, getWaterMark, getWorkbook, hasHeaderColumns, hidden, ignoreHeader, int2Col, isAutoSize, isHidden, markExtProp, nextBlock, nonOrIntDefault, paging, putAllExtProp, putExtProp, putExtPropIfAbsent, resetCommonProperties, search, setAutoOdd, setCellValueAndStyle, setColumns, setHeadStyle, setHeadStyle, setHeadStyle, setHeadStyle, setHeadStyleIndex, setId, setName, setOddFill, setSheetWriter, setWaterMark, setWorkbook, size, sortColumns, what, what, writeTopublic CSVSheet()
public CSVSheet(Path path)
path - the csv source file pathpublic CSVSheet(String name, Path path)
name - the worksheet namepath - the csv source file pathpublic CSVSheet(InputStream is) throws IOException
is - the csv source InputStreamIOException - if I/O error occur.public CSVSheet(String name, InputStream is) throws IOException
name - the worksheet nameis - the csv source InputStreamIOException - if I/O error occur.public CSVSheet(Reader reader) throws IOException
reader - the csv source InputStreamIOException - if I/O error occur.public CSVSheet(String name, Reader reader) throws IOException
name - the worksheet namereader - the csv source InputStreamIOException - if I/O error occur.public CSVSheet setHasHeader(boolean hasHeader)
hasHeader - boolean valueCSVSheetpublic void close()
throws IOException
close 在类中 SheetIOException - if I/O error occurprotected void resetBlockData()
resetBlockData 在类中 Sheetprotected Column[] getHeaderColumns()
SheetThe copy sheet will use the parent worksheet header information.
Use the method Sheet.getAndSortHeaderColumns() to get Columns
getHeaderColumns 在类中 Sheetpublic void checkColumnLimit()
SheetcheckColumnLimit 在类中 SheetCopyright © 2022. All rights reserved.