Class CustomResource

    • Constructor Detail

      • CustomResource

        public CustomResource​(String fileName,
                              String localCacheDirectory,
                              String rootUrl)
      • CustomResource

        public CustomResource​(String fileName,
                              String archiveFile,
                              String localCacheDirectory,
                              String rootUrl)
    • Method Detail

      • fileName

        public String fileName()
        Description copied from interface: DownloadableResource
        The name of the file to be downloaded or if an archive, the naem of the extracted file
        Returns:
      • rootUrl

        public String rootUrl()
        Description copied from interface: DownloadableResource
        The root url to the resource. This is going to be the directory name of where the file lives.
        Returns:
      • localCacheDirectory

        public File localCacheDirectory()
        Description copied from interface: DownloadableResource
        The storage location representing the directory cache
        Returns:
      • resourceType

        public ResourceType resourceType()
        Description copied from interface: DownloadableResource
        Returns the resource type for this resource
        Returns: