public final class ImageMetadataSignature extends MetadataSignature
Contains Image Metadata signature properties.
Constructor and Description |
---|
ImageMetadataSignature(int id,
Object value)
Creates Image Metadata Signature with Id and value
|
Modifier and Type | Method and Description |
---|---|
Object |
deepClone()
Clone Metadata Signature instance.
|
MetadataSignature |
deepClone(Object value)
Clone Image Metadata Signature instance with given value.
|
boolean |
equals(Object signature)
Overwrites Equals method to compare signature properties
|
String |
getDescription()
Read-only value to get description for standard Image Metadata signature
|
int |
getId()
The identifier of Image Metadata signature.
|
int |
getSize()
Read-only value to get size of Metadata value
|
int |
hashCode()
Overrides GetHashCode method
|
void |
setId(int value)
The identifier of Image Metadata signature.
|
void |
setSize(int value)
Read-only value to get size of Metadata value
|
boolean |
toBoolean()
Converts to boolean.
|
Date |
toDateTime()
Converts to DateTime.
|
Date |
toDateTime(Locale provider)
Converts to DateTime.
|
BigDecimal |
toDecimal()
Converts to Decimal.
|
BigDecimal |
toDecimal(Locale provider)
Converts to Decimal.
|
double |
toDouble()
Converts to Double.
|
double |
toDouble(Locale provider)
Converts to Double.
|
int |
toInteger()
Converts to integer.
|
long |
toLong()
Converts to long.
|
float |
toSingle()
Converts to float.
|
float |
toSingle(Locale provider)
Converts to float.
|
String |
toString()
Converts to String with override ToString() method
|
String |
toString(String format)
Converts to String with specified format
|
String |
toString(String format,
Locale provider)
Converts to String with specified format
|
getData, getData, getDataEncryption, getFValue, getName, getType, getValue, setDataEncryption, setFValue, setName, setType, setValue, SetValue
getCreatedOn, getDeleted, getHeight, getLeft, getModifiedOn, getPageNumber, getSignatureId, getSignatureType, getTop, getWidth, isSignature, setCreatedOn, setHeight, setLeft, setModifiedOn, setPageNumber, setSignature, setTop, setWidth, supportMetaInfoLayer
public ImageMetadataSignature(int id, Object value)
Creates Image Metadata Signature with Id and value
id
- Unique identifier Image Metadata Signature name. See references for Exif tags specifications for possible id valuesvalue
- Metadata valuepublic Object deepClone()
Clone Metadata Signature instance.
deepClone
in class MetadataSignature
public MetadataSignature deepClone(Object value)
Clone Image Metadata Signature instance with given value.
deepClone
in class MetadataSignature
value
- Value for new cloned object.public boolean equals(Object signature)
Overwrites Equals method to compare signature properties
equals
in class MetadataSignature
signature
- Signature object to compare with.public final String getDescription()
Read-only value to get description for standard Image Metadata signature
public final int getId()
The identifier of Image Metadata signature.
See ImageMetadataSignatures
class that contains standard Signature with predefined Id value.
public final int getSize()
Read-only value to get size of Metadata value
public int hashCode()
Overrides GetHashCode method
hashCode
in class MetadataSignature
public final void setId(int value)
The identifier of Image Metadata signature.
See ImageMetadataSignatures
class that contains standard Signature with predefined Id value.
public final void setSize(int value)
Read-only value to get size of Metadata value
public boolean toBoolean() throws Exception
Converts to boolean.
toBoolean
in class MetadataSignature
Exception
public Date toDateTime() throws Exception
Converts to DateTime.
toDateTime
in class MetadataSignature
SignatureSettings.DefaultCulture
Exception
public Date toDateTime(Locale provider) throws Exception
Converts to DateTime.
toDateTime
in class MetadataSignature
provider
- Format data provider to use with data conversion operations.
Exception
public final BigDecimal toDecimal() throws Exception
Converts to Decimal.
SignatureSettings.DefaultCulture
Exception
public final BigDecimal toDecimal(Locale provider) throws Exception
Converts to Decimal.
provider
- Format data provider to use with data conversion operations.
Exception
public double toDouble() throws Exception
Converts to Double.
toDouble
in class MetadataSignature
SignatureSettings.DefaultCulture
Exception
public double toDouble(Locale provider) throws Exception
Converts to Double.
toDouble
in class MetadataSignature
provider
- Format data provider to use with data conversion operations.
Exception
public int toInteger() throws Exception
Converts to integer.
toInteger
in class MetadataSignature
Exception
public final long toLong() throws Exception
Converts to long.
Exception
public final float toSingle() throws Exception
Converts to float.
toSingle
in class MetadataSignature
SignatureSettings.DefaultCulture
Exception
public final float toSingle(Locale provider) throws Exception
Converts to float.
toSingle
in class MetadataSignature
provider
- Format data provider to use with data conversion operations.
Exception
public String toString()
Converts to String with override ToString() method
toString
in class MetadataSignature
public String toString(String format) throws Exception
Converts to String with specified format
toString
in class MetadataSignature
format
- Data format string.
SignatureSettings.DefaultCulture
Exception
public String toString(String format, Locale provider) throws Exception
Converts to String with specified format
toString
in class MetadataSignature
format
- Data format string.provider
- Format data provider to use with data conversion operations.
Exception