Class ByteArrayField
java.lang.Object
is.galia.codec.tiff.ByteArrayField
- All Implemented Interfaces:
Field
,Comparable<Field>
-
Constructor Summary
ConstructorsConstructorDescriptionByteArrayField
(Tag tag, DataType dataType) ByteArrayField
(Tag tag, DataType dataType, byte[] values) -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface is.galia.codec.tiff.Field
getDataType, getTag
-
Constructor Details
-
ByteArrayField
-
ByteArrayField
-
-
Method Details
-
compareTo
- Specified by:
compareTo
in interfaceComparable<Field>
-
equals
-
getFirstValue
- Specified by:
getFirstValue
in interfaceField
- Returns:
- For instances of type
DataType.BYTE
orDataType.UNDEFINED
, a byte array. For all other types, the first value.
-
getValues
- Specified by:
getValues
in interfaceField
- Returns:
- For instances of type
DataType.BYTE
orDataType.UNDEFINED
, a one-element instance containing a byte array. For all other types, an instance containing one element per value.
-
hashCode
-
toString
-
getDataType
-
getTag
-