com.groupdocs.metadata

Interfaces

Classes

Exceptions

com.groupdocs.metadata

Class AviFormat

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


    public final class AviFormat
    extends FormatBase
    implements IXmp

    Represents AVI video format.

    See Also:
    GroupDocs.Metadata.Formats.FormatBase
    • Constructor Detail

      • AviFormat

        public AviFormat(String fileName)

        Initializes a new instance of the FormatBase class.

        Parameters:
        fileName - Absolute path to the file.
      • AviFormat

        public AviFormat(InputStream input)

        Initializes a new instance of the FormatBase class.

        Parameters:
        input - File stream.
    • Method Detail

      • getType

        public int getType()

        Gets document type.

        Value: Document type.
        Specified by:
        getType in class FormatBase
      • getHeader

        public final AviHeader getHeader()

        Gets the AVI header.

        Value: The AVI header.
      • hasXmp

        public final boolean hasXmp()

        Gets true if file contains XMP metadata.

        Value: true if file has XMP; otherwise, false.
        Specified by:
        hasXmp in interface IXmp
      • getXmpValues

        public final XmpEditableCollection getXmpValues()

        Gets XmpEditableCollection. Provides access for all XMP properties in edit mode.

        Value: XMP values.
        Specified by:
        getXmpValues in interface IXmp
      • getXmpData

        public final XmpPacketWrapper getXmpData()

        Returns the XMP packet.

        Specified by:
        getXmpData in interface IXmp
        Returns:
        XmpPacketWrapper if XMP data is presented; otherwise null.
      • getXmpProperties

        public final XmpProperties getXmpProperties()

        Returns all XMP properties presented in specific format.

        Specified by:
        getXmpProperties in interface IXmp
        Returns:
        XmpProperties if XMP data is presented; otherwise null.
      • setXmpData

        public final boolean setXmpData(XmpPacketWrapper package_)

        Updates XMP packet.

        Specified by:
        setXmpData in interface IXmp
        Parameters:
        package - XMP packet wrapper.
        Returns:
        true if the XMP is successfully updated; otherwise false.
        Throws:
        ArgumentNullException - package;Package could not be null
      • removeXmpData

        public final void removeXmpData()

        Removes all XMP data.


        This feature is not available in trial mode.

        Specified by:
        removeXmpData in interface IXmp
      • cleanMetadata

        public void cleanMetadata()

        Removes metadata from AVI file.


        This feature is not available in trial mode.

        Overrides:
        cleanMetadata in class FormatBase