Class SystemFile

  • All Implemented Interfaces:
    java.lang.Comparable

    public class SystemFile
    extends java.lang.Object
    implements java.lang.Comparable
    Utility class for SystemJspBean
    • Constructor Summary

      Constructors 
      Constructor Description
      SystemFile()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compareTo​(java.lang.Object file)
      Compare files name in order to sort files by name
      java.util.Date getDate()
      Gets the date
      java.lang.String getDescription()
      Gets the description
      java.lang.String getDirectory()
      Gets the directory
      java.lang.String getName()
      Gets the name
      int getSize()
      Gets the size
      void setDate​(java.util.Date date)
      Sets the date
      void setDescription​(java.lang.String strDescription)
      Sets the description
      void setDirectory​(java.lang.String strDirectory)
      Sets the directory
      void setName​(java.lang.String strName)
      Sets the name
      void setSize​(int size)
      Sets the size
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SystemFile

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