gbs_file_stbean.java

来自「对日软件外包 为东芝做的一个全球商业管理系统」· Java 代码 · 共 106 行

JAVA
106
字号
/*
 * 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 + =
减小字号Ctrl + -
显示快捷键?