public interface UploadedFile
Modifier and Type | Interface and Description |
---|---|
static class |
UploadedFile.Status |
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() |
void |
write(String fileName) |
void delete() throws IOException
IOException
String getAbsolutePath()
byte[] getBytes() throws IOException
IOException
String getCharSet()
String getContentType()
Collection<String> getHeaderNames()
Collection<String> getHeaders(String name)
String getId()
InputStream getInputStream() throws IOException
IOException
String getMessage()
String getName()
long getSize()
UploadedFile.Status getStatus()
void write(String fileName) throws IOException
IOException
Copyright © 2018 Liferay, Inc. All rights reserved.