com.groupdocs.metadata.core

Interfaces

Classes

Exceptions

com.groupdocs.metadata.core

Class FlvRootPackage

  • All Implemented Interfaces:
    IXmp, Iterable<MetadataProperty>


    public class FlvRootPackage
    extends RootMetadataPackage
    implements IXmp

    Represents the root package allowing working with metadata in an FLV video.

    This example shows how to read FLV header properties.

    try (Metadata metadata = new Metadata(Constants.InputFlv)) {
         FlvRootPackage root = metadata.getRootPackageGeneric();
         System.out.println(root.getHeader().getVersion());
         System.out.println(root.getHeader().hasAudioTags());
         System.out.println(root.getHeader().hasVideoTags());
         System.out.println(root.getHeader().getTypeFlags());
     }
     
    • Method Detail

      • getXmpPackage

        public final XmpPacketWrapper getXmpPackage()

        Gets the XMP metadata package.

        Specified by:
        getXmpPackage in interface IXmp
        Returns:
        The XMP metadata package.
      • setXmpPackage

        public final void setXmpPackage(XmpPacketWrapper value)

        Sets the XMP metadata package.

        Specified by:
        setXmpPackage in interface IXmp
        Parameters:
        value - The XMP metadata package.
      • getHeader

        public final FlvHeader getHeader()

        Gets the FLV header package.

        Returns:
        The FLV header package.