com.groupdocs.metadata

Interfaces

Classes

Exceptions

com.groupdocs.metadata

Class PhotoshopPackage

  • All Implemented Interfaces:
    IXmlValue


    public final class PhotoshopPackage
    extends XmpPackage

    Represents Adobe Photoshop namespace.

    • Constructor Detail

      • PhotoshopPackage

        public PhotoshopPackage()

        Initializes a new instance of the PhotoshopPackage class.

    • Method Detail

      • getAuthorsPosition

        public final String getAuthorsPosition()

        Gets by-line title.

        Returns:
        The authors position.
      • setAuthorsPosition

        public final void setAuthorsPosition(String value)

        Sets by-line title.

        Parameters:
        value - The authors position.
      • getCaptionWriter

        public final String getCaptionWriter()

        Gets writer/editor.

        Returns:
        The caption writer.
      • setCaptionWriter

        public final void setCaptionWriter(String value)

        Sets writer/editor.

        Parameters:
        value - The caption writer.
      • getCategory

        public final String getCategory()

        Gets category. Limited to 3 7-bit ASCII characters.

        Returns:
        The category. Limited to 3 ASCII characters.
      • setCategory

        public final void setCategory(String value)

        Sets category. Limited to 3 7-bit ASCII characters.

        Parameters:
        value - The category. Limited to 3 ASCII characters.
      • getCity

        public final String getCity()

        Gets city.

        Returns:
        The city.
      • setCity

        public final void setCity(String value)

        Sets city.

        Parameters:
        value - The city.
      • getColorMode

        public final int getColorMode()

        Gets color mode.

        Returns:
        The color mode.
      • setColorMode

        public final void setColorMode(int value)

        Sets color mode.

        Parameters:
        value - The color mode.
      • getCountry

        public final String getCountry()

        Gets country.

        Returns:
        The country.
      • setCountry

        public final void setCountry(String value)

        Sets country.

        Parameters:
        value - The country.
      • getCredit

        public final String getCredit()

        Gets credit.

        Returns:
        The credit.
      • setCredit

        public final void setCredit(String value)

        Sets credit.

        Parameters:
        value - The credit.
      • getDateCreated

        public final Date getDateCreated()

        Gets the date the intellectual content of the document was created.

        Returns:
        The created date of the document.
      • setDateCreated

        public final void setDateCreated(Date value)

        Sets the date the intellectual content of the document was created.

        Parameters:
        value - The created date of the document.
      • getHeadline

        public final String getHeadline()

        Gets headline.

        Returns:
        The headline.
      • setHeadline

        public final void setHeadline(String value)

        Sets headline.

        Parameters:
        value - The headline.
      • getHistory

        public final String getHistory()

        Gets history.

        Returns:
        The history.


        The history that appears in the FileInfo panel, if activated in the application preferences.

      • setHistory

        public final void setHistory(String value)

        Sets history.

        Parameters:
        value - The history.


        The history that appears in the FileInfo panel, if activated in the application preferences.

      • getICCProfile

        public final String getICCProfile()

        Gets or sets color profile, such as AppleRGB, AdobeRGB1998.

        Returns:
        The ICC profile.
      • setICCProfile

        public final void setICCProfile(String value)

        Gets or sets color profile, such as AppleRGB, AdobeRGB1998.

      • getInstructions

        public final String getInstructions()

        Gets special instructions.

        Returns:
        Special instructions.
      • setInstructions

        public final void setInstructions(String value)

        Sets special instructions.

        Parameters:
        value - Special instructions.
      • getSource

        public final String getSource()

        Gets source.

        Returns:
        The source.
      • setSource

        public final void setSource(String value)

        Sets source.

        Parameters:
        value - The source.
      • getState

        public final String getState()

        Gets state.

        Returns:
        The state.
      • setState

        public final void setState(String value)

        Sets state.

        Parameters:
        value - The state.
      • getTransmissionReference

        public final String getTransmissionReference()

        Gets original transmission reference.

        Returns:
        The transmission reference.
      • setTransmissionReference

        public final void setTransmissionReference(String value)

        Sets original transmission reference.

        Parameters:
        value - The transmission reference.
      • getUrgency

        public final int getUrgency()

        Gets urgency.

        Returns:
        The urgency.
      • setUrgency

        public final void setUrgency(int value)

        Sets urgency.

        Parameters:
        value - The urgency.
      • addValue

        public void addValue(String key,
                    String value)

        Adds string property.

        Overrides:
        addValue in class XmpPackage
        Parameters:
        key - Photoshop key.
        value - String value.
        Throws:
        ArgumentNullException - Photoshop property could not be null
      • setCreatedDate

        public final void setCreatedDate(Date createdDate)

        Sets created date.

        Parameters:
        createdDate - The created date.
      • setDocumentAncestors

        public final void setDocumentAncestors(String[] ancestors)

        Sets the document ancestors.

        Parameters:
        ancestors - The ancestors.
      • setSupplementalCategories

        public final void setSupplementalCategories(String[] supplementalCategories)

        Sets supplemental categories.

        Parameters:
        supplementalCategories - The supplemental categories.