com.groupdocs.metadata

Interfaces

Classes

Exceptions

com.groupdocs.metadata

Class AsfFormat

    • Constructor Detail

      • AsfFormat

        public AsfFormat(String filePath)

        Initializes a new instance of the AsfFormat class.

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

      • getType

        public int getType()

        Gets the document type.

        Specified by:
        getType in class FormatBase
        Returns:
        The document type.
      • getAsfInfo

        public final AsfMetadata getAsfInfo()

        Gets the ASF native metadata.

        Returns:
        The ASF native metadata.
      • hasXmp

        public final boolean hasXmp()

        Gets a value indicating whether if file contains XMP metadata.

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

        public final XmpEditableCollection getXmpValues()

        Gets the XmpEditableCollection. Provides access to all XMP properties in edit mode.

        Specified by:
        getXmpValues in interface IXmp
        Returns:
        XMP values.
      • cleanMetadata

        public void cleanMetadata()

        Removes or resets metadata.

        Overrides:
        cleanMetadata in class FormatBase
      • 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 the XMP packet.

        Specified by:
        setXmpData in interface IXmp
        Parameters:
        package - XMP packet wrapper.
        Returns:
        true if the XMP is successfully updated; otherwise false.
      • removeXmpData

        public final void removeXmpData()

        Removes the XMP data.


        This feature is not available in the trial mode.

        Specified by:
        removeXmpData in interface IXmp
      • getDublinCore

        public final DublinCoreMetadata getDublinCore()

        Gets the Dublin Core metadata.

        Specified by:
        getDublinCore in interface IDublinCore
        Returns:
        DublinCoreMetadata if the Dublin Core metadata is present; otherwise null.


        This feature is not supported in the trial mode.