Class AbstractTiffOutputItem.Value
- java.lang.Object
-
- org.apache.commons.imaging.formats.tiff.write.AbstractTiffOutputItem
-
- org.apache.commons.imaging.formats.tiff.write.AbstractTiffOutputItem.Value
-
- Enclosing class:
- AbstractTiffOutputItem
public static class AbstractTiffOutputItem.Value extends AbstractTiffOutputItem
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.commons.imaging.formats.tiff.write.AbstractTiffOutputItem
AbstractTiffOutputItem.Value
-
-
Field Summary
Fields Modifier and Type Field Description private byte[]bytesprivate java.lang.Stringname(package private) static intSHALLOW_SIZE-
Fields inherited from class org.apache.commons.imaging.formats.tiff.write.AbstractTiffOutputItem
UNDEFINED_VALUE
-
-
Constructor Summary
Constructors Constructor Description Value(java.lang.String name, byte[] bytes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetItemDescription()intgetItemLength()voidupdateValue(byte[] bytes)voidwriteItem(AbstractBinaryOutputStream bos)-
Methods inherited from class org.apache.commons.imaging.formats.tiff.write.AbstractTiffOutputItem
getOffset, setOffset
-
-
-
-
Field Detail
-
SHALLOW_SIZE
static final int SHALLOW_SIZE
- See Also:
- Constant Field Values
-
bytes
private final byte[] bytes
-
name
private final java.lang.String name
-
-
Method Detail
-
getItemDescription
public java.lang.String getItemDescription()
- Specified by:
getItemDescriptionin classAbstractTiffOutputItem
-
getItemLength
public int getItemLength()
- Specified by:
getItemLengthin classAbstractTiffOutputItem
-
updateValue
public void updateValue(byte[] bytes) throws ImagingException- Throws:
ImagingException
-
writeItem
public void writeItem(AbstractBinaryOutputStream bos) throws java.io.IOException, ImagingException
- Specified by:
writeItemin classAbstractTiffOutputItem- Throws:
java.io.IOExceptionImagingException
-
-