📄 gbs_file_stbean.java
字号:
/*
* Created on 2004/07/29
*
*/
package DataBean;
import java.io.OutputStream;
/**
* <p>Title: Download file Information </p>
* <p>Description: process page action<br>
* </p>
* <p> Copyright (c) 2004</p>
* @author mxx
* @version 1.0
*/
public class GBS_File_stBean implements java.io.Serializable {
private String contentType = "";
private String fileName = "";
private byte[] fileData = null;
private long fileSize = 0;
private OutputStream os =null;
/**
* Returns the contentType.
* @return String
*/
public OutputStream getFileOutStream() {
return os;
}
/**
* Set the contentType.
* @param contentType The contentType to set
*/
public void setFileOutStream(OutputStream os) {
this.os = os;
}
/**
* Returns the contentType.
* @return String
*/
public String getContentType() {
return contentType;
}
/**
* Set the contentType.
* @param contentType The contentType to set
*/
public void setContentType(String contentType) {
this.contentType = contentType;
}
/**
* Returns the fileName.
* @return String
*/
public String getFileName() {
return fileName;
}
/**
* Set the fileName.
* @param fileName The fileName to set
*/
public void setFileName(String fileName) {
this.fileName = fileName;
}
/**
* Returns the fileData.
* @return byte[]
*/
public byte[] getFileData() {
return fileData;
}
/**
* Set the fileData.
* @param fileData The fileData to set
*/
public void setFileData(byte[] fileData) {
this.fileData = fileData;
}
/**
* Returns the fileSize.
* @return String
*/
public long getFileSize() {
return fileSize;
}
/**
* Set the contentType.
* @param contentType The contentType to set
*/
public void setFileSize(long fileSize) {
this.fileSize = fileSize;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -