All Downloads are FREE. Search and download functionalities are using the official Maven repository.

nextapp.echo2.webcontainer.filetransfer.UploadEvent Maven / Gradle / Ivy

Go to download

Echo2 bundled with Echo2_Extras, Echo2_FileTransfer and echopointing and various improvements/bugfixes

There is a newer version: 2.0.4
Show newest version

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