DefaultUploadedFile
, NativeUploadedFile
, UploadedFileWrapper
public interface UploadedFile
Modifier and Type | Method | Description |
---|---|---|
byte[] |
getContents() |
|
String |
getContentType() |
|
String |
getFileName() |
|
InputStream |
getInputstream() |
|
long |
getSize() |
|
void |
write(String filePath) |
Writes the uploaded file to the given file path.
|
String getFileName()
InputStream getInputstream() throws IOException
IOException
long getSize()
byte[] getContents()
String getContentType()
Copyright © 2018. All rights reserved.