You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
955 B

package com.alibaba.excel.context;
7 years ago
import com.alibaba.excel.read.metadata.ReadSheet;
import com.alibaba.excel.read.metadata.holder.ReadRowHolder;
import com.alibaba.excel.read.metadata.holder.ReadSheetHolder;
import com.alibaba.excel.read.metadata.holder.ReadWorkbookHolder;
7 years ago
/**
*
* A context is the main anchorage point of a excel reader.
*
7 years ago
* @author jipengfei
*/
public interface AnalysisContext {
/**
* Select the current table
*
* @param readSheet
7 years ago
*/
void currentSheet(ReadSheet readSheet);
7 years ago
/**
* All information about the workbook you are currently working on
7 years ago
*
* @return
7 years ago
*/
ReadWorkbookHolder currentWorkbookHolder();
7 years ago
/**
* All information about the sheet you are currently working on
*
* @return
7 years ago
*/
ReadSheetHolder currentSheetHolder();
7 years ago
/**
* Row of currently operated cell
7 years ago
*
* @return
7 years ago
*/
ReadRowHolder currentRowHolder();
7 years ago
}