public class FileUploadEvent extends AuxActionEvent
To detect whether the uploading file is successful or not, you can use
getCause()
to check
Constructor and Description |
---|
FileUploadEvent(String name,
String action,
Range activeCell,
Set<Range> refs,
String fileName,
Throwable cause,
Object data) |
Modifier and Type | Method and Description |
---|---|
Throwable |
getCause()
Returns the error cause, if any.
|
InputStream |
getFile()
Returns the file.
|
String |
getFileName()
Returns the file name
|
static FileUploadEvent |
getFileUploadEvent(String name,
Spreadsheet spreadsheet,
Map map) |
getAction, getActiveCell, getAuxEvent
getColumn, getData, getLastColumn, getLastRow, getName, getRange, getRangeEvent, getRangeEvent, getRanges, getRow, getWorksheet, toString
public static FileUploadEvent getFileUploadEvent(String name, Spreadsheet spreadsheet, Map map)
public Throwable getCause()
public String getFileName()
public InputStream getFile()
Copyright © 2018. All rights reserved.