nextapp.echo2.webcontainer.filetransfer.UploadEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ibis-echo2 Show documentation
Show all versions of ibis-echo2 Show documentation
Echo2 bundled with Echo2_Extras, Echo2_FileTransfer and echopointing and various improvements/bugfixes
package nextapp.echo2.webcontainer.filetransfer;
import java.io.File;
class UploadEvent {
private File file;
private int fileSize;
private String contentType;
private String fileName;
public UploadEvent(File file, int fileSize, String contentType, String fileName){
setFile(file);
setFileSize(fileSize);
setContentType(contentType);
setFileName(fileName);
}
public String getContentType() {
return contentType;
}
public void setContentType(String contentType) {
this.contentType = contentType;
}
public File getFile() {
return file;
}
public void setFile(File file) {
this.file = file;
}
public String getFileName() {
return fileName;
}
public void setFileName(String fileName) {
this.fileName = fileName;
}
public int getFileSize() {
return fileSize;
}
public void setFileSize(int fileSize) {
this.fileSize = fileSize;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy