Class StringField
java.lang.Object
is.galia.codec.tiff.StringField
- All Implemented Interfaces:
Field,Comparable<Field>
Implementation for
DataType.ASCII and DataType.UTF8.-
Constructor Summary
ConstructorsConstructorDescriptionStringField(Tag tag, DataType dataType) StringField(Tag tag, DataType dataType, String value) Convenience constructor for assembly of test fixtures. -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface is.galia.codec.tiff.Field
getDataType, getTag
-
Constructor Details
-
StringField
-
StringField
-
-
Method Details
-
compareTo
- Specified by:
compareToin interfaceComparable<Field>
-
equals
-
getFirstValue
- Specified by:
getFirstValuein interfaceField- Returns:
- For instances of type
DataType.BYTEorDataType.UNDEFINED, a byte array. For all other types, the first value.
-
getValues
- Specified by:
getValuesin interfaceField- Returns:
- For instances of type
DataType.BYTEorDataType.UNDEFINED, a one-element instance containing a byte array. For all other types, an instance containing one element per value.
-
hashCode
-
toString
-
getDataType
-
getTag
-