/** * Copyright © 2002 Instituto Superior Técnico * * This file is part of FenixEdu Academic. * * FenixEdu Academic is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * FenixEdu Academic is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with FenixEdu Academic. If not, see <http://www.gnu.org/licenses/>. */ package org.fenixedu.academic.ui.struts.action.webSiteManager; import java.io.InputStream; import java.io.Serializable; public class SimpleFileBean implements Serializable { /** * Serial version id. */ private static final long serialVersionUID = 1L; private transient InputStream file; private String name; private long size; private String contentType; public InputStream getFile() { return this.file; } public void setFile(InputStream file) { this.file = file; } public String getName() { return this.name; } public void setName(String name) { this.name = name; } public long getSize() { return this.size; } public void setSize(long size) { this.size = size; } public String getContentType() { return this.contentType; } public void setContentType(String contentType) { this.contentType = contentType; } }