Class SystemFile

  • All Implemented Interfaces:
    Comparable

    public class SystemFile
    extends Object
    implements Comparable
    Utility class for SystemJspBean
    • Constructor Detail

      • SystemFile

        public SystemFile()
    • 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:
        compareTo in interface Comparable
        Parameters:
        file - The file to compare
        Returns: