com.groupdocs.metadata

Interfaces

Classes

Exceptions

com.groupdocs.metadata

Class RiffFormat

    • Constructor Detail

      • RiffFormat

        public RiffFormat(InputStream input)

        Initializes a new instance of the RiffFormat class.

        Parameters:
        input - File stream.
    • Method Detail

      • hasXmp

        public final boolean hasXmp()

        Gets a value indicating whether the 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.
      • 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 the 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.
        Throws:
        ArgumentNullException - Package could not be null.
      • 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 presented; otherwise null.


        This feature is not supported in the trial mode.

      • cleanMetadata

        public void cleanMetadata()

        Removes metadata.


        This feature is not available in the trial mode.

        Overrides:
        cleanMetadata in class FormatBase