com.groupdocs.metadata

Interfaces

Classes

Exceptions

com.groupdocs.metadata

Class MatroskaFormat

  • All Implemented Interfaces:
    com.aspose.ms.System.IDisposable, Closeable, AutoCloseable


    public class MatroskaFormat
    extends FormatBase

    Represents a video encoded with the Matroska Media Container.

    • Constructor Detail

      • MatroskaFormat

        public MatroskaFormat(String fileName)

        Initializes a new instance of the MatroskaFormat class.

        Parameters:
        fileName - A string that contains the full name of the file from which to create a MatroskaFormat instance.
      • MatroskaFormat

        public MatroskaFormat(InputStream input)

        Initializes a new instance of the MatroskaFormat class.

        Parameters:
        input - A stream that contains the data for this MatroskaFormat.
    • Method Detail

      • getType

        public int getType()

        Gets the type of the loaded file.

        Specified by:
        getType in class FormatBase
        Returns:
        The type of the loaded file.
      • getContentType

        public final int getContentType()

        Gets the Matroska content type.

        Returns:
        The Matroska content type.
      • getEbmlHeader

        public final MatroskaEbmlHeaderMetadata getEbmlHeader()

        Gets the EBML header metadata.

        Returns:
        The EBML header metadata.
      • getSegments

        public final MatroskaSegmentInfoMetadata[] getSegments()

        Gets the segment information metadata.

        Returns:
        The segment information metadata.
      • getTracks

        public final MatroskaTrackMetadata[] getTracks()

        Gets the track metadata entries.

        Returns:
        The track metadata entries.
      • getTags

        public final MatroskaTagMetadata[] getTags()

        Gets the tag metadata entries.

        Returns:
        The tag metadata entries.
      • getSubtitleTracks

        public final MatroskaSubtitleTrackMetadata[] getSubtitleTracks()

        Gets the subtitle metadata entries.

        Returns:
        The subtitle metadata entries.
      • cleanMetadata

        public void cleanMetadata()

        Removes writable metadata properties associated with the file. Metadata cleaning is not supported for this format.

        Overrides:
        cleanMetadata in class FormatBase
      • dispose

        protected void dispose(boolean disposing)

        Releases unmanaged and optionally managed resources.

        Overrides:
        dispose in class FormatBase
        Parameters:
        disposing - true to release both managed and unmanaged resources; false to release only unmanaged resources.