|
||||||||||
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 String |
TAG_FILE
|
Constructor Summary | |
---|---|
File()
|
Method Summary | |
---|---|
String |
getExtension()
|
int |
getIdFile()
|
String |
getMimeType()
|
PhysicalFile |
getPhysicalFile()
|
int |
getSize()
|
String |
getTitle()
|
StringBuffer |
getXml(fr.paris.lutece.portal.service.plugin.Plugin plugin,
Locale locale,
int nTypeEntry,
int width,
int height)
return the xml of file |
void |
setExtension(String extension)
set the extension of the file |
void |
setIdFile(int idFile)
set the id of the file |
void |
setMimeType(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(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 String TAG_FILE
Constructor Detail |
---|
public File()
Method Detail |
---|
public int getIdFile()
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 StringBuffer getXml(fr.paris.lutece.portal.service.plugin.Plugin plugin, 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 |