提交 8b8b7c42 编写于 作者: 庄家钜's avatar 庄家钜

优化读写逻辑

上级 6b37ba2f
...@@ -14,41 +14,41 @@ import com.alibaba.excel.write.metadata.holder.WriteWorkbookHolder; ...@@ -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 { ...@@ -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 { ...@@ -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()} ()}
*/ */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册