public final class IptcProperty extends Object implements IMetadataProperty, com.aspose.ms.System.IEquatable<IptcProperty>
Represents IPTC metadata property.
Constructor and Description |
---|
IptcProperty(int dataSetNumber,
int tagId,
byte[] value)
Initializes a new instance of the
IptcProperty class. |
IptcProperty(int dataSetNumber,
String name,
int tagId,
Date value)
Initializes a new instance of the
IptcProperty class. |
IptcProperty(int dataSetNumber,
String name,
int tagId,
int value)
Initializes a new instance of the
IptcProperty class. |
IptcProperty(int dataSetNumber,
String name,
int tagId,
String value)
Initializes a new instance of the
IptcProperty class. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(IptcProperty other)
Indicates whether the current object is equal to another object of the same type.
|
boolean |
equals(Object obj)
Determines whether the specified object is equal to this instance.
|
int |
getDataSetNumber()
Gets the data set number.
|
String |
getFormattedValue()
Gets the formatted value.
|
String |
getName()
Gets or sets property name.
|
int |
getPropertyType()
Gets the property type.
|
int |
getTagId()
Gets the TagId.
|
int |
hashCode()
Returns a hash code for this instance.
|
void |
setName(String value)
Gets or sets property name.
|
byte[] |
toByteArray()
Returns byte array.
|
Date |
toDate()
Returns DateTime value.
|
Integer |
toInt()
Returns integer value.
|
String |
toString()
Returns a
System.String that represents this instance. |
public IptcProperty(int dataSetNumber, int tagId, byte[] value)
Initializes a new instance of the IptcProperty
class.
dataSetNumber
- The dataset number.tagId
- The tag identifier.value
- Byte array value.public IptcProperty(int dataSetNumber, String name, int tagId, String value)
Initializes a new instance of the IptcProperty
class.
dataSetNumber
- The dataset number.name
- Property name.tagId
- The tag identifier.value
- String value.public IptcProperty(int dataSetNumber, String name, int tagId, int value)
Initializes a new instance of the IptcProperty
class.
dataSetNumber
- The dataset number.name
- Property name.tagId
- The tag identifier.value
- Integer value.public final int getTagId()
Gets the TagId.
Value: The tag identifier.public final int getDataSetNumber()
Gets the data set number.
Value: The data set number.public final int getPropertyType()
Gets the property type.
Value: The type of the property.public final String getName()
Gets or sets property name.
Value: Property name.getName
in interface IMetadataProperty
public final void setName(String value)
Gets or sets property name.
Value: Property name.setName
in interface IMetadataProperty
public final String getFormattedValue()
Gets the formatted value.
getFormattedValue
in interface IMetadataProperty
public final boolean equals(IptcProperty other)
Indicates whether the current object is equal to another object of the same type.
other
- An object to compare with this object.true
if the current object is equal to the other
parameter; otherwise, false
.public String toString()
Returns a System.String
that represents this instance.
public final byte[] toByteArray()
Returns byte array.
public final Integer toInt()
Returns integer value.
public final Date toDate()
Returns DateTime value.
public boolean equals(Object obj)
Determines whether the specified object is equal to this instance.
equals
in interface com.aspose.ms.System.IEquatable<IptcProperty>
equals
in class Object
obj
- The System.Object
to compare with this instance.true
if the specified System.Object
is equal to this instance; otherwise, false
.Copyright © 2017. All rights reserved.