Interface Binary

    • Method Detail

      • getContent

        InputStream getContent()
        Returns:
        The InputStream of content associated with this datastream.
      • getContentSize

        long getContentSize()
        Returns:
        The size in bytes of content associated with this datastream.
      • getContentDigests

        Collection<URIgetContentDigests()
        Get the pre-calculated content digest for the binary payload
        Returns:
        a URI with the format algorithm:value
      • isProxy

        Boolean isProxy()
        Returns:
        Whether or not this binary is a proxy to another resource
      • isRedirect

        Boolean isRedirect()
        Returns:
        Whether or not this binary is a redirect to another resource
      • getExternalURL

        String getExternalURL()
        Returns:
        the external url for this binary if present, or null.
      • getExternalURI

        default URI getExternalURI()
        Returns:
        Get the external uri for this binary if present, or null
      • getMimeType

        String getMimeType()
        Returns:
        The MimeType of content associated with this datastream.
      • getFilename

        String getFilename()
        Return the file name for the binary content
        Returns:
        original file name for the binary content, or the object's id.