public interface FileMeta
Modifier and Type | Method and Description |
---|---|
String |
getContentType()
The content type of the file
|
Date |
getDateUploaded()
The date the file was uploaded
|
String |
getDateUploadedFormatted()
The file uploaded date formatted ina more readable String format
|
String |
getId()
Unique id of the FileMeta object
|
String |
getName()
The name of the file
|
Long |
getSize()
The size of the file (in bytes)
|
String |
getSizeFormatted()
The size of the file formatted into a more readable format
|
String |
getUrl()
The url to use to download the file
|
void |
init(org.springframework.web.multipart.MultipartFile multipartFile)
Init method called to initialize the FileMeta object
|
void |
setContentType(String contentType) |
void |
setDateUploaded(Date dateUploaded) |
void |
setId(String id) |
void |
setName(String name) |
void |
setSize(Long size) |
void |
setUrl(String url) |
void init(org.springframework.web.multipart.MultipartFile multipartFile) throws Exception
multipartFile
- the file this object contains or representsException
String getContentType()
void setContentType(String contentType)
getContentType()
String getSizeFormatted()
Date getDateUploaded()
void setDateUploaded(Date dateUploaded)
getDateUploaded()
String getDateUploadedFormatted()
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.