Package org.apache.commons.imaging.formats.jpeg.iptc

# Class IptcBlock

java.lang.Object
org.apache.commons.imaging.formats.jpeg.iptc.IptcBlock

public class IptcBlock extends Object
Represents an IPTC block, a set of key-value pairs of Photoshop IPTC data.

The class is used in public API parameter types.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `IptcBlock(int blockType, byte[] blockNameBytes, byte[] blockData)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `byte[]`
  `getBlockData()`
  `byte[]`
  `getBlockNameBytes()`
  `int`
  `getBlockType()`
  `boolean`
  `isIptcBlock()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### IptcBlock

    public IptcBlock(int blockType, byte[] blockNameBytes, byte[] blockData)

- ## Method Details

  - ### getBlockData

    public byte[] getBlockData()

  - ### getBlockNameBytes

    public byte[] getBlockNameBytes()

  - ### getBlockType

    public int getBlockType()

  - ### isIptcBlock

    public boolean isIptcBlock()