com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Class Video

  • java.lang.Object
    • com.aspose.slides.Video
  • All Implemented Interfaces:
    IVideo


    public class Video
    extends java.lang.Object
    implements IVideo

    Represents an image embedded into a presentation.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      byte[] getBinaryData()
      Returns the copy of an audio's data.
      java.lang.String getContentType()
      Returns a MIME type of an video, encoded in BinaryData(getBinaryData()).
      com.aspose.slides.IDOMObject getParent_Immediate()
      Returns Parent_Immediate object.
      java.io.InputStream getStream()
      Returns Stream stream for reading.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getContentType

        public final java.lang.String getContentType()

        Returns a MIME type of an video, encoded in BinaryData(getBinaryData()). Read-only String.

        Specified by:
        getContentType in interface IVideo
      • getBinaryData

        public final byte[] getBinaryData()

        Returns the copy of an audio's data. In case of large amount of data consider using of getStream() method to prevent unnecessary loading of video's data into memory or even OutOfMemoryException. Read-only byte[].

        Specified by:
        getBinaryData in interface IVideo
      • getStream

        public final java.io.InputStream getStream()

        Returns Stream stream for reading. Use 'using' or close stream after using.

        Specified by:
        getStream in interface IVideo
        Returns:
        Stream for reading.
      • getParent_Immediate

        public final com.aspose.slides.IDOMObject getParent_Immediate()

        Returns Parent_Immediate object. Read-only IDOMObject.