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 the Matroska Media Container format.

    • Constructor Detail

      • MatroskaFormat

        public MatroskaFormat(String filePath)

        Initializes a new instance of the MatroskaFormat class.

        Parameters:
        filePath - The absolute path to the file.
      • MatroskaFormat

        public MatroskaFormat(InputStream input)

        Initializes a new instance of the MatroskaFormat class.

        Parameters:
        input - The stream to load the file from.
    • Method Detail

      • getType

        public int getType()

        Gets the document type.

        Specified by:
        getType in class FormatBase
        Returns:
        The document type.
      • 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.
      • cleanMetadata

        public void cleanMetadata()

        Removes or resets metadata.


        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.