Class TiffOutputField
java.lang.Object
org.apache.commons.imaging.formats.tiff.write.TiffOutputField
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTiffOutputField
(int tag, TagInfo tagInfo, AbstractFieldType abstractFieldType, int count, byte[] bytes) TiffOutputField
(TagInfo tagInfo, AbstractFieldType abstractFieldType, int count, byte[] bytes) -
Method Summary
Modifier and TypeMethodDescriptionprotected static TiffOutputField
createOffsetField
(TagInfo tagInfo, ByteOrder byteOrder) byte[]
getData()
Return a copy of the data in this TIFF output field.protected org.apache.commons.imaging.formats.tiff.write.AbstractTiffOutputItem
int
protected final boolean
void
setData
(byte[] bytes) Set the data for this TIFF output field.void
setSortHint
(int sortHint) toString()
protected void
-
Field Details
-
tag
-
tagInfo
-
abstractFieldType
-
count
-
-
Constructor Details
-
TiffOutputField
public TiffOutputField(int tag, TagInfo tagInfo, AbstractFieldType abstractFieldType, int count, byte[] bytes) -
TiffOutputField
public TiffOutputField(TagInfo tagInfo, AbstractFieldType abstractFieldType, int count, byte[] bytes)
-
-
Method Details
-
createOffsetField
protected static TiffOutputField createOffsetField(TagInfo tagInfo, ByteOrder byteOrder) throws ImagingException - Throws:
ImagingException
-
getData
Return a copy of the data in this TIFF output field.- Returns:
- a copy of the data in this TIFF output field.
-
getSeperateValue
-
getSortHint
-
isLocalValue
-
setData
Set the data for this TIFF output field.- Parameters:
bytes
- TIFF output field data.- Throws:
ImagingException
- if the length of the bytes array do not match.
-
setSortHint
-
toString
-
toString
-
writeField
- Throws:
IOException
ImagingException
-