Interface Resource

    • Method Detail

      • getResourceType

        ResourceType getResourceType()
        Returns the type of this Resource.
        Returns:
        the type
      • getBytes

        byte[] getBytes()
        Returns the byte data of the Resource.
        Returns:
        the byte data
      • getSize

        int getSize()
        Returns the size (in bytes) of this Resource.
        Returns:
        the size (in bytes)
      • getCachedFile

        File getCachedFile()
        Returns a cached version of the Resources file.
        Returns:
        the cached file
      • setCachedFile

        void setCachedFile​(File cachedFile)
        Sets the cached version of the Resources file.
        Parameters:
        cachedFile - the cached file
      • getCheckSum

        String getCheckSum()
        Returns the checksum of the byte data
        Returns:
        the checksum of the byte data