public interface Upload extends TapirElement, Enabable, Displayable
setFile(File)
to choose a file which should be uploaded.Modifier and Type | Method and Description |
---|---|
void |
setFile(File file)
Sets the file which should be uploaded.
|
isDisplayed
void setFile(File file)
RuntimeException
if the given file does not exist.file
- the file to to uploadRuntimeException
- if the file does not exist, a RuntimeException
is thrown.Copyright © 2018–2020 b+m Informatik AG. All rights reserved.