MovRootPackage

Inheritance: java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.RootMetadataPackage

All Implemented Interfaces: com.groupdocs.metadata.core.IXmp

public class MovRootPackage extends RootMetadataPackage implements IXmp

Represents the root package allowing working with metadata in a QuickTime video.

Learn more

This example shows how to read QuickTime atoms in a MOV video.

try (Metadata metadata = new Metadata(Constants.InputMov)) { MovRootPackage root = metadata.getRootPackageGeneric(); for (MovAtom atom : root.getMovPackage().getAtoms()) { System.out.println(atom.getType()); System.out.println(atom.getOffset()); System.out.println(atom.getSize()); // … } }

Methods

Method Description
getMovPackage() Gets the QuickTime metadata package.
getXmpPackage() Gets the XMP metadata package.
setXmpPackage(XmpPacketWrapper value) Sets the XMP metadata package.

getMovPackage()

public final MovPackage getMovPackage()

Gets the QuickTime metadata package.

Returns: MovPackage - The QuickTime metadata package.

getXmpPackage()

public final XmpPacketWrapper getXmpPackage()

Gets the XMP metadata package.

Returns: XmpPacketWrapper - The XMP metadata package.

Learn more

setXmpPackage(XmpPacketWrapper value)

public final void setXmpPackage(XmpPacketWrapper value)

Sets the XMP metadata package.

Parameters:

Parameter Type Description
value XmpPacketWrapper The XMP metadata package.

Learn more

Working with XMP metadata: https://docs.groupdocs.com/display/metadatajava/Working+with+XMP+metadata |