AnalysisParam.java
1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
package com.taover.easyexcel.parameter;
import com.taover.easyexcel.support.ExcelTypeEnum;
import java.io.InputStream;
/**
 *
 * @author jipengfei
 */
@Deprecated
public class AnalysisParam {
    /**
     * @see ExcelTypeEnum
     */
    private ExcelTypeEnum excelTypeEnum;
    /**
     * the POI filesystem that contains the Workbook stream
     */
    private InputStream in;
    /**
     * user defined param to listener use
     */
    private Object customContent;
    public AnalysisParam(InputStream in, ExcelTypeEnum excelTypeEnum, Object customContent) {
        this.in = in;
        this.excelTypeEnum = excelTypeEnum;
        this.customContent = customContent;
    }
    public ExcelTypeEnum getExcelTypeEnum() {
        return excelTypeEnum;
    }
    public void setExcelTypeEnum(ExcelTypeEnum excelTypeEnum) {
        this.excelTypeEnum = excelTypeEnum;
    }
    public Object getCustomContent() {
        return customContent;
    }
    public void setCustomContent(Object customContent) {
        this.customContent = customContent;
    }
    public InputStream getIn() {
        return in;
    }
    public void setIn(InputStream in) {
        this.in = in;
    }
}