Class HashCache.UriData

    • Constructor Detail

      • UriData

        public UriData​(String uri,
                       boolean firstLevel)
        Default constructor for a file data
        Parameters:
        uri - The uri locating the file
        firstLevel - False if the file data is an import from another file data
    • Method Detail

      • setLastModified

        public void setLastModified​(Long lastModified)
        Set the last modified value
        Parameters:
        lastModified - the lastModified to set
      • setMedia

        public void setMedia​(String media)
        set the medias value
        Parameters:
        media - the medias to set
      • getUri

        public String getUri()
        Get the file uri
        Returns:
        the uri
      • getLastModified

        public Long getLastModified()
        Get the file last modified date
        Returns:
        the lastModified
      • getMedia

        public String getMedia()
        Get the file medias
        Returns:
        the medias
      • isFirstLevel

        public boolean isFirstLevel()
        Check if the file is a first level file
        Returns:
        True if the file is first level