public class File extends Object implements Serializable
| Constructor and Description |
|---|
File() |
| Modifier and Type | Method and Description |
|---|---|
Timestamp |
getDateCreation() |
String |
getExtension() |
String |
getFileKey()
get file key
|
int |
getIdFile()
Deprecated.
|
String |
getMimeType() |
String |
getOrigin()
get origin
|
PhysicalFile |
getPhysicalFile() |
int |
getSize() |
String |
getTitle() |
String |
getUrl()
get url
|
void |
setDateCreation(Timestamp dateCreation)
set the creation date of the file
|
void |
setExtension(String extension)
set the extension of the file
|
void |
setFileKey(String strFileKey)
set file key
|
void |
setIdFile(int idFile)
Deprecated.
|
void |
setMimeType(String mimeType)
set the mime type of the file
|
void |
setOrigin(String strOrigin)
set origin
|
void |
setPhysicalFile(PhysicalFile file)
set the PhysicalFile associate to the file
|
void |
setSize(int size)
set the size of the file
|
void |
setTitle(String title)
set the title of the file
|
void |
setUrl(String strUrl)
set url
|
public String getFileKey()
public void setFileKey(String strFileKey)
strFileKey - @Deprecated public int getIdFile()
@Deprecated public void setIdFile(int idFile)
idFile - id of the filepublic String getTitle()
public void setTitle(String title)
title - the title of the filepublic int getSize()
public void setSize(int size)
size - the size of the filepublic String getExtension()
public void setExtension(String extension)
extension - the title of the filepublic String getMimeType()
public void setMimeType(String mimeType)
mimeType - the mime type of the filepublic PhysicalFile getPhysicalFile()
public void setPhysicalFile(PhysicalFile file)
file - PhysicalFilepublic Timestamp getDateCreation()
public void setDateCreation(Timestamp dateCreation)
dateCreation - the creation date of the filepublic String getUrl()
public void setUrl(String strUrl)
strUrl - the url to setpublic String getOrigin()
public void setOrigin(String strOrigin)
_strOrigin - Copyright © 2024 City of Paris. All rights reserved.