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

Loading…
Cancel
Save