mirror of https://github.com/alibaba/easyexcel
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.
47 lines
953 B
47 lines
953 B
7 years ago
|
package com.alibaba.excel.parameter;
|
||
|
|
||
|
import java.io.OutputStream;
|
||
|
|
||
|
import com.alibaba.excel.support.ExcelTypeEnum;
|
||
|
|
||
|
/**
|
||
|
* 为方便使用废弃该入参。直接将outputStream,type传入{@link com.alibaba.excel.ExcelWriter}的构造器即可
|
||
|
*
|
||
|
* @author jipengfei
|
||
|
*/
|
||
|
@Deprecated
|
||
|
public class ExcelWriteParam {
|
||
|
|
||
|
/**
|
||
|
* 文件输出流
|
||
|
*/
|
||
|
private OutputStream outputStream;
|
||
|
|
||
|
/**
|
||
|
* Excel类型
|
||
|
*/
|
||
|
private ExcelTypeEnum type;
|
||
|
|
||
|
public ExcelWriteParam(OutputStream outputStream, ExcelTypeEnum type) {
|
||
|
this.outputStream = outputStream;
|
||
|
this.type = type;
|
||
|
|
||
|
}
|
||
|
|
||
|
public OutputStream getOutputStream() {
|
||
|
return outputStream;
|
||
|
}
|
||
|
|
||
|
public void setOutputStream(OutputStream outputStream) {
|
||
|
this.outputStream = outputStream;
|
||
|
}
|
||
|
|
||
|
public ExcelTypeEnum getType() {
|
||
|
return type;
|
||
|
}
|
||
|
|
||
|
public void setType(ExcelTypeEnum type) {
|
||
|
this.type = type;
|
||
|
}
|
||
|
}
|