public interface UploadedFile
| Modifier and Type | Method and Description |
|---|---|
void |
delete() |
String |
getContentType() |
byte[] |
getData() |
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
FileUploadExceptionInputStream getInputStream() throws IOException
IOExceptionString getName()
long getSize()
void delete()
throws IOException
IOExceptionvoid write(String fileName) throws IOException
IOExceptionCollection<String> getHeaderNames()
Collection<String> getHeaders(String headerName)
String getParameterName()
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.