public final class IptcProperty extends MetadataProperty
Represents an IPTC metadata property.
isBuiltInProperty
Constructor and Description |
---|
IptcProperty(int dataSetNumber,
int tagId,
byte[] value)
Initializes a new instance of the
IptcProperty class. |
IptcProperty(int dataSetNumber,
int tagId,
Date value)
Initializes a new instance of the
IptcProperty class. |
IptcProperty(int dataSetNumber,
int tagId,
int value)
Initializes a new instance of the
IptcProperty class. |
IptcProperty(int dataSetNumber,
int tagId,
String value)
Initializes a new instance of the
IptcProperty class. |
IptcProperty(int dataSetNumber,
String name,
int tagId,
Date value)
Deprecated.
|
IptcProperty(int dataSetNumber,
String name,
int tagId,
int value)
Deprecated.
|
IptcProperty(int dataSetNumber,
String name,
int tagId,
String value)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
String |
getAlternativeName()
Gets the alternative name of the property.
|
int |
getDataSetNumber()
Gets the data set number.
|
int |
getPropertyType()
Deprecated.
|
int |
getTagId()
Gets the tag identifier.
|
byte[] |
toByteArray()
Deprecated.
|
Date |
toDate()
Deprecated.
|
Integer |
toInt()
Deprecated.
|
equals, equals, equals, getFormattedValue, getName, getValue, hashCode, isBuiltInProperty, setName, setValue, toString
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
- A byte array value.public IptcProperty(int dataSetNumber, int tagId, String value)
Initializes a new instance of the IptcProperty
class.
dataSetNumber
- The dataset number.tagId
- The tag identifier.value
- A string value.public IptcProperty(int dataSetNumber, int tagId, int value)
Initializes a new instance of the IptcProperty
class.
dataSetNumber
- The dataset number.tagId
- The tag identifier.value
- An integer value.public IptcProperty(int dataSetNumber, int tagId, Date value)
Initializes a new instance of the IptcProperty
class.
dataSetNumber
- The dataset number.tagId
- The tag identifier.value
- A date value.@Deprecated 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.@Deprecated 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.@Deprecated public IptcProperty(int dataSetNumber, String name, int tagId, Date value)
Initializes a new instance of the IptcProperty
class.
dataSetNumber
- The dataset number.name
- Property name.tagId
- The tag identifier.value
- DateTime value.public final int getTagId()
Gets the tag identifier.
public final int getDataSetNumber()
Gets the data set number.
public final String getAlternativeName()
Gets the alternative name of the property.
@Deprecated public final int getPropertyType()
Gets the property type.
@Deprecated public final byte[] toByteArray()
Returns byte array.
@Deprecated public final Integer toInt()
Returns integer value.
@Deprecated public final Date toDate()
Returns DateTime value.
Copyright © 2019. All rights reserved.