Class IPTC_NAA

java.lang.Object
pixy.meta.adobe._8BIM
pixy.meta.adobe.IPTC_NAA

public class IPTC_NAA
extends _8BIM
  • Constructor Details

    • IPTC_NAA

      public IPTC_NAA()
    • IPTC_NAA

      public IPTC_NAA​(java.lang.String name)
    • IPTC_NAA

      public IPTC_NAA​(java.lang.String name, byte[] data)
  • Method Details

    • addDataSet

      public void addDataSet​(IPTCDataSet dataSet)
    • addDataSets

      public void addDataSets​(java.util.Collection<? extends IPTCDataSet> dataSets)
    • getDataSets

      public java.util.Map<IPTCTag,​java.util.List<IPTCDataSet>> getDataSets()
      Get all the IPTCDataSet as a map for this IPTC data
      Returns:
      a map with the key for the IPTCDataSet name and a list of IPTCDataSet as the value
    • getDataSet

      public java.util.List<IPTCDataSet> getDataSet​(IPTCTag key)
      Get a list of IPTCDataSet associated with a key
      Parameters:
      key - name of the data set
      Returns:
      a list of IPTCDataSet associated with the key
    • getMetadataEntry

      protected MetadataEntry getMetadataEntry()
      Overrides:
      getMetadataEntry in class _8BIM
    • write

      public void write​(java.io.OutputStream os) throws java.io.IOException
      Overrides:
      write in class _8BIM
      Throws:
      java.io.IOException