Browse Source

优化读写逻辑

bugfix
Jiaju Zhuang 5 years ago
parent
commit
8b8b7c425d
  1. 18
      src/main/java/com/alibaba/excel/context/WriteContext.java

18
src/main/java/com/alibaba/excel/context/WriteContext.java

@ -14,41 +14,41 @@ import com.alibaba.excel.write.metadata.holder.WriteWorkbookHolder;
/**
* Write context
*
*
* @author jipengfei
*/
public interface WriteContext {
/**
* If the current sheet already exists, select it; if not, create it
*
* @param writeSheet
*
* @param writeSheet Current sheet
*/
void currentSheet(WriteSheet writeSheet);
/**
* If the current table already exists, select it; if not, create it
*
*
* @param writeTable
*/
void currentTable(WriteTable writeTable);
/**
* All information about the workbook you are currently working on
*
*
* @return
*/
WriteWorkbookHolder writeWorkbookHolder();
/**
* All information about the sheet you are currently working on
*
*
* @return
*/
WriteSheetHolder writeSheetHolder();
/**
* All information about the table you are currently working on
*
*
* @return
*/
WriteTableHolder writeTableHolder();
@ -86,7 +86,7 @@ public interface WriteContext {
/**
* Get outputStream
*
*
* @return
* @deprecated please us e{@link #writeWorkbookHolder()} ()}
*/
@ -95,7 +95,7 @@ public interface WriteContext {
/**
* Get workbook
*
*
* @return
* @deprecated please us e{@link #writeWorkbookHolder()} ()}
*/

Loading…
Cancel
Save