Class ThemeRendition

    • Constructor Detail

      • ThemeRendition

        public ThemeRendition​(Resource resource)
    • Method Detail

      • getMimeType

        public java.lang.String getMimeType()
        Description copied from interface: Rendition
        Returns the mime type of the rendition's binary.
        Specified by:
        getMimeType in interface Rendition
        Returns:
        the mime type
      • getSize

        public long getSize()
        Description copied from interface: Rendition
        Returns the size in bytes of the rendition's binary.
        Specified by:
        getSize in interface Rendition
        Returns:
        The size.
      • getStream

        public java.io.InputStream getStream()
        Description copied from interface: Rendition
        Returns the InputStream representing the binary of this rendition.
        Specified by:
        getStream in interface Rendition
        Returns:
        The input stream of the rendition's binary, or null if the binary is not found.