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 UploadedFile
IOException
public String getAbsolutePath()
getAbsolutePath
in interface UploadedFile
public Map<String,Object> getAttributes()
getAttributes
in interface UploadedFile
public byte[] getBytes() throws IOException
getBytes
in interface UploadedFile
IOException
public String getCharSet()
getCharSet
in interface UploadedFile
public String getContentType()
getContentType
in interface UploadedFile
public String getHeader(String name)
getHeader
in interface UploadedFile
public Collection<String> getHeaderNames()
getHeaderNames
in interface UploadedFile
public Collection<String> getHeaders(String name)
getHeaders
in interface UploadedFile
public String getId()
getId
in interface UploadedFile
public InputStream getInputStream() throws IOException
getInputStream
in interface UploadedFile
IOException
public String getMessage()
getMessage
in interface UploadedFile
public String getName()
getName
in interface UploadedFile
public long getSize()
getSize
in interface UploadedFile
public UploadedFile.Status getStatus()
getStatus
in interface UploadedFile
public void write(String fileName) throws IOException
write
in interface UploadedFile
IOException
Copyright © 2018 Liferay, Inc.. All rights reserved.