Package org.apache.commons.imaging.formats.webp

# Class WebPImageMetadata

java.lang.Object
org.apache.commons.imaging.common.GenericImageMetadata
org.apache.commons.imaging.formats.webp.WebPImageMetadata

All Implemented Interfaces:
  `ImageMetadata`

public final class WebPImageMetadata extends GenericImageMetadata
WebP image metadata.

Since:
  1.0.0-alpha4

- ## Nested Class Summary

  ## Nested classes/interfaces inherited from class org.apache.commons.imaging.common.GenericImageMetadata

  `GenericImageMetadata.GenericImageMetadataItem`

  ## Nested classes/interfaces inherited from interface org.apache.commons.imaging.common.ImageMetadata

  `ImageMetadata.ImageMetadataItem`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `WebPImageMetadata(TiffImageMetadata exif)`
  Create a new WebP image metadata object.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `TiffImageMetadata`
  `getExif()`
  Returns the Exif metadata.
  `List<? extends ImageMetadata.ImageMetadataItem>`
  `getItems()`

  ### Methods inherited from class org.apache.commons.imaging.common.GenericImageMetadata

  `add, add, toString, toString`

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

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

- ## Constructor Details

  - ### WebPImageMetadata

    public WebPImageMetadata(TiffImageMetadata exif)
    Create a new WebP image metadata object.
    Parameters:
      `exif` - the Exif metadata.

- ## Method Details

  - ### getExif

    public TiffImageMetadata getExif()
    Returns the Exif metadata.
    Returns:
      `null` if no Exif metadata is available; otherwise, returns the Exif metadata.

  - ### getItems

    public List<? extends ImageMetadata.ImageMetadataItem> getItems()
    Specified by:
      `getItems` in interface `ImageMetadata`
    Overrides:
      `getItems` in class `GenericImageMetadata`