public interface UploadedFile
Modifier and Type | Method and Description |
---|---|
void |
delete() |
String |
getContentType() |
byte[] |
getData() |
String |
getFileExtension()
Returns the files extension - the substring after last period of this file's name.
|
String |
getHeader(String headerName) |
Collection<String> |
getHeaderNames() |
Collection<String> |
getHeaders(String headerName) |
InputStream |
getInputStream() |
String |
getName() |
String |
getParameterName() |
long |
getSize() |
void |
write(String fileName) |
String getContentType()
byte[] getData() throws FileUploadException
FileUploadException
InputStream getInputStream() throws IOException
IOException
String getName()
long getSize()
void delete() throws IOException
IOException
void write(String fileName) throws IOException
IOException
Collection<String> getHeaderNames()
Collection<String> getHeaders(String headerName)
String getParameterName()
String getFileExtension()
Copyright © 2016 JBoss by Red Hat. All Rights Reserved.