Class SystemFile
- java.lang.Object
-
- fr.paris.lutece.portal.web.system.SystemFile
-
- All Implemented Interfaces:
Comparable
public class SystemFile extends Object implements Comparable
Utility class for SystemJspBean
-
-
Constructor Summary
Constructors Constructor Description SystemFile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(Object file)Compare files name in order to sort files by nameDategetDate()Gets the dateStringgetDescription()Gets the descriptionStringgetDirectory()Gets the directoryStringgetName()Gets the nameintgetSize()Gets the sizevoidsetDate(Date date)Sets the datevoidsetDescription(String strDescription)Sets the descriptionvoidsetDirectory(String strDirectory)Sets the directoryvoidsetName(String strName)Sets the namevoidsetSize(int size)Sets the size
-
-
-
Method Detail
-
getName
public String getName()
Gets the name- Returns:
- The name
-
setName
public void setName(String strName)
Sets the name- Parameters:
strName- The name
-
getDescription
public String getDescription()
Gets the description- Returns:
- The description
-
setDescription
public void setDescription(String strDescription)
Sets the description- Parameters:
strDescription- The description
-
getDirectory
public String getDirectory()
Gets the directory- Returns:
- The directory
-
setDirectory
public void setDirectory(String strDirectory)
Sets the directory- Parameters:
strDirectory- The directory
-
getDate
public Date getDate()
Gets the date- Returns:
- The date
-
setDate
public void setDate(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(Object file)
Compare files name in order to sort files by name- Specified by:
compareToin interfaceComparable- Parameters:
file- The file to compare- Returns:
-
-