Interface MediaContent

  • All Superinterfaces:
    java.lang.AutoCloseable, java.io.Closeable

    public interface MediaContent
    extends java.io.Closeable
    Contains methods related to MediaContent.
    Since:
    1.6.0
    • Method Detail

      • getInputStream

        java.io.InputStream getInputStream()
        Returns the input stream.
      • getContentLength

        long getContentLength()
        Returns the content length.
      • close

        default void close()
                    throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Throws:
        java.io.IOException