|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.directory.business.File
public class File
class File
Field Summary | |
---|---|
static java.lang.String |
TAG_FILE
|
Constructor Summary | |
---|---|
File()
|
Method Summary | |
---|---|
java.lang.String |
getExtension()
|
int |
getIdFile()
|
java.lang.String |
getMimeType()
|
PhysicalFile |
getPhysicalFile()
|
int |
getSize()
|
java.lang.String |
getTitle()
|
java.lang.StringBuffer |
getXml(fr.paris.lutece.portal.service.plugin.Plugin plugin,
java.util.Locale locale,
int nTypeEntry,
int width,
int height)
return the xml of file |
void |
setExtension(java.lang.String extension)
set the extension of the file |
void |
setIdFile(int idFile)
set the id of the file |
void |
setMimeType(java.lang.String mimeType)
set the mime type of the file |
void |
setPhysicalFile(PhysicalFile file)
set the PhysicalFile associate to the file |
void |
setSize(int size)
set the size of the file |
void |
setTitle(java.lang.String title)
set the title of the file |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String TAG_FILE
Constructor Detail |
---|
public File()
Method Detail |
---|
public int getIdFile()
public void setIdFile(int idFile)
idFile
- id of the filepublic java.lang.String getTitle()
public void setTitle(java.lang.String title)
title
- the title of the filepublic int getSize()
public void setSize(int size)
size
- the size of the filepublic java.lang.String getExtension()
public void setExtension(java.lang.String extension)
extension
- the title of the filepublic java.lang.String getMimeType()
public void setMimeType(java.lang.String mimeType)
mimeType
- the mime type of the filepublic PhysicalFile getPhysicalFile()
public void setPhysicalFile(PhysicalFile file)
file
- PhysicalFilepublic java.lang.StringBuffer getXml(fr.paris.lutece.portal.service.plugin.Plugin plugin, java.util.Locale locale, int nTypeEntry, int width, int height)
plugin
- the pluginlocale
- the locale
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |