com.groupdocs.metadata.core

Interfaces

Classes

Exceptions

com.groupdocs.metadata.core

Class XmpBasicPackage

    • Constructor Detail

      • XmpBasicPackage

        public XmpBasicPackage()

        Initializes a new instance of the XmpBasicPackage class.

    • Method Detail

      • getBaseUrl

        public final String getBaseUrl()

        Gets the base URL for relative URLs in the document content. If this document contains Internet links, and those links are relative, they are relative to this base URL.

        Returns:
        The base URL.
      • setBaseUrl

        public final void setBaseUrl(String value)

        Sets the base URL for relative URLs in the document content. If this document contains Internet links, and those links are relative, they are relative to this base URL.

        Parameters:
        value - The base URL.
      • getCreateDate

        public final Date getCreateDate()

        Gets the date and time the resource was created.

        Returns:
        The resource creation date.
      • setCreateDate

        public final void setCreateDate(Date value)

        Sets the date and time the resource was created.

        Parameters:
        value - The resource creation date.
      • getCreatorTool

        public final String getCreatorTool()

        Gets the name of the tool used to create the resource.

        Returns:
        The name of the tool used to create the resource.
      • setCreatorTool

        public final void setCreatorTool(String value)

        Sets the name of the tool used to create the resource.

        Parameters:
        value - The name of the tool used to create the resource.
      • getIdentifiers

        public final String[] getIdentifiers()

        Gets an unordered array of text strings that unambiguously identify the resource within a given context.

        Returns:
        An array of the identifiers.
      • setIdentifiers

        public final void setIdentifiers(String[] value)

        Sets an unordered array of text strings that unambiguously identify the resource within a given context.

        Parameters:
        value - An array of the identifiers.
      • getLabel

        public final String getLabel()

        Gets a word or short phrase that identifies the resource as a member of a user-defined collection.

        Returns:
        The label of the resource.
      • setLabel

        public final void setLabel(String value)

        Sets a word or short phrase that identifies the resource as a member of a user-defined collection.

        Parameters:
        value - The label of the resource.
      • getMetadataDate

        public final Date getMetadataDate()

        Gets the date and time that any metadata for this resource was last changed.

        Returns:
        The metadata date.
      • setMetadataDate

        public final void setMetadataDate(Date value)

        Sets the date and time that any metadata for this resource was last changed.

        Parameters:
        value - The metadata date.
      • getModifyDate

        public final Date getModifyDate()

        Gets the date and time the resource was last modified.

        Returns:
        The last modification date.
      • setModifyDate

        public final void setModifyDate(Date value)

        Sets the date and time the resource was last modified.

        Parameters:
        value - The last modification date.
      • getNickname

        public final String getNickname()

        Gets a short informal name for the resource.

        Returns:
        The nickname.
      • setNickname

        public final void setNickname(String value)

        Sets a short informal name for the resource.

        Parameters:
        value - The nickname.
      • getRating

        public final double getRating()

        Gets a user-assigned rating for this file. The value shall be -1 or in the range [0..5], where -1 indicates “rejected” and 0 indicates “unrated”.

        Returns:
        The rating.
      • setRating

        public final void setRating(double value)

        Sets a user-assigned rating for this file. The value shall be -1 or in the range [0..5], where -1 indicates “rejected” and 0 indicates “unrated”.

        Parameters:
        value - The rating.
      • getThumbnails

        public final XmpThumbnail[] getThumbnails()

        Gets an array of thumbnail images for the file, which can differ in characteristics such as size or image encoding.

        Returns:
        The thumbnails.
      • setThumbnails

        public final void setThumbnails(XmpThumbnail[] value)

        Sets an array of thumbnail images for the file, which can differ in characteristics such as size or image encoding.

        Parameters:
        value - The thumbnails.
      • set

        public void set(String name,
               String value)

        Adds string property.

        Overrides:
        set in class XmpPackage
        Parameters:
        name - XmpBasic key.
        value - String value.
        Throws:
        ArgumentNullException - Metadata key is not provided.