@ConsumerType public abstract class UploadedFileWrapper extends Object implements UploadedFile, javax.faces.FacesWrapper<UploadedFile>
UploadedFile.Status| Constructor and Description |
|---|
UploadedFileWrapper() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete() |
String |
getAbsolutePath() |
Map<String,Object> |
getAttributes() |
byte[] |
getBytes() |
String |
getCharSet() |
String |
getContentType() |
String |
getHeader(String name) |
Collection<String> |
getHeaderNames() |
Collection<String> |
getHeaders(String name) |
String |
getId() |
InputStream |
getInputStream() |
String |
getMessage() |
String |
getName() |
long |
getSize() |
UploadedFile.Status |
getStatus() |
abstract UploadedFile |
getWrapped() |
void |
write(String fileName) |
public abstract UploadedFile getWrapped()
getWrapped in interface javax.faces.FacesWrapper<UploadedFile>public void delete()
throws IOException
delete in interface UploadedFileIOExceptionpublic String getAbsolutePath()
getAbsolutePath in interface UploadedFilepublic Map<String,Object> getAttributes()
getAttributes in interface UploadedFilepublic byte[] getBytes()
throws IOException
getBytes in interface UploadedFileIOExceptionpublic String getCharSet()
getCharSet in interface UploadedFilepublic String getContentType()
getContentType in interface UploadedFilepublic String getHeader(String name)
getHeader in interface UploadedFilepublic Collection<String> getHeaderNames()
getHeaderNames in interface UploadedFilepublic Collection<String> getHeaders(String name)
getHeaders in interface UploadedFilepublic String getId()
getId in interface UploadedFilepublic InputStream getInputStream() throws IOException
getInputStream in interface UploadedFileIOExceptionpublic String getMessage()
getMessage in interface UploadedFilepublic String getName()
getName in interface UploadedFilepublic long getSize()
getSize in interface UploadedFilepublic UploadedFile.Status getStatus()
getStatus in interface UploadedFilepublic void write(String fileName) throws IOException
write in interface UploadedFileIOExceptionCopyright © 2020 Liferay, Inc.. All rights reserved.