Class SystemFile
- java.lang.Object
-
- fr.paris.lutece.portal.web.system.SystemFile
-
- All Implemented Interfaces:
java.lang.Comparable
public class SystemFile extends java.lang.Object implements java.lang.ComparableUtility class for SystemJspBean
-
-
Constructor Summary
Constructors Constructor Description SystemFile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(java.lang.Object file)Compare files name in order to sort files by namejava.util.DategetDate()Gets the datejava.lang.StringgetDescription()Gets the descriptionjava.lang.StringgetDirectory()Gets the directoryjava.lang.StringgetName()Gets the nameintgetSize()Gets the sizevoidsetDate(java.util.Date date)Sets the datevoidsetDescription(java.lang.String strDescription)Sets the descriptionvoidsetDirectory(java.lang.String strDirectory)Sets the directoryvoidsetName(java.lang.String strName)Sets the namevoidsetSize(int size)Sets the size
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Gets the name- Returns:
- The name
-
setName
public void setName(java.lang.String strName)
Sets the name- Parameters:
strName- The name
-
getDescription
public java.lang.String getDescription()
Gets the description- Returns:
- The description
-
setDescription
public void setDescription(java.lang.String strDescription)
Sets the description- Parameters:
strDescription- The description
-
getDirectory
public java.lang.String getDirectory()
Gets the directory- Returns:
- The directory
-
setDirectory
public void setDirectory(java.lang.String strDirectory)
Sets the directory- Parameters:
strDirectory- The directory
-
getDate
public java.util.Date getDate()
Gets the date- Returns:
- The date
-
setDate
public void setDate(java.util.Date date)
Sets the date- Parameters:
date- The date
-
getSize
public int getSize()
Gets the size- Returns:
- The size
-
setSize
public void setSize(int size)
Sets the size- Parameters:
size- The size
-
compareTo
public int compareTo(java.lang.Object file)
Compare files name in order to sort files by name- Specified by:
compareToin interfacejava.lang.Comparable- Parameters:
file- The file to compare- Returns:
-
-