Interface HippoResourceBean

    • Method Detail

      • getMimeType

        String getMimeType()
        Get the mime type of this resource.
        Returns:
        the mime type of this resource
      • getFilename

        String getFilename()
        Get the file name of this resource or null if unavailable.
        Returns:
        the file name of this resource or null if unavailable
      • getLength

        long getLength()
        Returns:
        the number of bytes of binary stored in this resource
      • getLengthKB

        BigDecimal getLengthKB()
        Return size in kilobytes
        Returns:
        kilobytes
      • getLengthMB

        BigDecimal getLengthMB()
        Return size in kilobytes
        Returns:
        megabytes
      • getLastModified

        Calendar getLastModified()
        Returns:
        the last modified date of this resource and null if there is no last modified (should never happen though)
      • isBlank

        boolean isBlank()
        Return true if this resource contains blank data and should not be used by the frontend. This differs from getLength() == 0 which may represent an empty file.
        Returns:
        true if this resource contains blank data