Interface Resource

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getFileName()
      Returns a decorative "file name" that can be used for reporting errors and the like.
      long lastModified()
      Returns the time of the last modification, in milliseconds since 1970, or 0L if the time of the last modification cannot be determined.
      InputStream open()
      Opens the resource.
    • Method Detail

      • getFileName

        String getFileName()
        Returns a decorative "file name" that can be used for reporting errors and the like. It does not necessarily map to a file in the local file system!
      • lastModified

        long lastModified()
        Returns the time of the last modification, in milliseconds since 1970, or 0L if the time of the last modification cannot be determined.