com.groupdocs.metadata

Interfaces

Classes

Exceptions

com.groupdocs.metadata

Class IptcProperty

    • Constructor Detail

      • IptcProperty

        public IptcProperty(int dataSetNumber,
                    int tagId,
                    byte[] value)

        Initializes a new instance of the IptcProperty class.

        Parameters:
        dataSetNumber - The dataset number.
        tagId - The tag identifier.
        value - Byte array value.
      • IptcProperty

        public IptcProperty(int dataSetNumber,
                    String name,
                    int tagId,
                    String value)

        Initializes a new instance of the IptcProperty class.

        Parameters:
        dataSetNumber - The dataset number.
        name - Property name.
        tagId - The tag identifier.
        value - String value.
      • IptcProperty

        public IptcProperty(int dataSetNumber,
                    String name,
                    int tagId,
                    int value)

        Initializes a new instance of the IptcProperty class.

        Parameters:
        dataSetNumber - The dataset number.
        name - Property name.
        tagId - The tag identifier.
        value - Integer value.
      • IptcProperty

        public IptcProperty(int dataSetNumber,
                    String name,
                    int tagId,
                    Date value)

        Initializes a new instance of the IptcProperty class.

        Parameters:
        dataSetNumber - The dataset number.
        name - Property name.
        tagId - The tag identifier.
        value - DateTime value.
    • Method Detail

      • getTagId

        public final int getTagId()

        Gets the TagId.

        Returns:
        The tag identifier.
      • getDataSetNumber

        public final int getDataSetNumber()

        Gets the data set number.

        Returns:
        The data set number.
      • getPropertyType

        public final int getPropertyType()

        Gets the property type.

        Returns:
        The type of the property.
      • setName

        public final void setName(String value)

        Sets property name.

        Specified by:
        setName in interface IMetadataProperty
        Parameters:
        value - Property name.
      • getFormattedValue

        public final String getFormattedValue()

        Gets the formatted value.

        Specified by:
        getFormattedValue in interface IMetadataProperty
        Returns:
        String value contained metadata property value in readable format.
      • equals

        public final boolean equals(IptcProperty other)

        Indicates whether the current object is equal to another object of the same type.

        Parameters:
        other - An object to compare with this object.
        Returns:
        true if the current object is equal to the other parameter; otherwise, false.
      • toString

        public String toString()

        Returns a System.String that represents this instance.

        Overrides:
        toString in class Object
        Returns:
        A System.String that represents this instance.
      • toByteArray

        public final byte[] toByteArray()

        Returns byte array.

        Returns:
        The array of bytes.
      • toInt

        public final Integer toInt()

        Returns integer value.

        Returns:
        Integer value.
      • toDate

        public final Date toDate()

        Returns DateTime value.

        Returns:
        DateTime value.
      • equals

        public boolean equals(Object obj)

        Determines whether the specified object is equal to this instance.

        Specified by:
        equals in interface com.aspose.ms.System.IEquatable<IptcProperty>
        Overrides:
        equals in class Object
        Parameters:
        obj - The System.Object to compare with this instance.
        Returns:
        true if the specified System.Object is equal to this instance; otherwise, false.
      • hashCode

        public int hashCode()

        Returns a hash code for this instance.

        Overrides:
        hashCode in class Object
        Returns:
        A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.