ExifDictionaryBasePackage

Inheritance: java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage

public abstract class ExifDictionaryBasePackage extends CustomPackage

Provides an abstract base class for EXIF metadata dictionaries.

Learn more

Methods

Method Description
toList() Creates a list from the package.
getByTiffTagID(TiffTagID tagId) Gets the TIFF tag with the specified id.
remove(TiffTagID tagId) Removes the property with the specified id.
set(TiffTag tag) Adds or replaces the specified tag.
clear() Removes all TIFF tags stored in the package.

toList()

public final IReadOnlyList<TiffTag> toList()

Creates a list from the package.

Returns: IReadOnlyList - A list that contains all TIFF tags from the package.

getByTiffTagID(TiffTagID tagId)

public final TiffTag getByTiffTagID(TiffTagID tagId)

Gets the TIFF tag with the specified id.

Parameters:

Parameter Type Description
tagId TiffTagID The id of the tag to retrieve.

Returns: TiffTag - The TiffTag with the specified tag id.

remove(TiffTagID tagId)

public final boolean remove(TiffTagID tagId)

Removes the property with the specified id.

Parameters:

Parameter Type Description
tagId TiffTagID A TIFF tag id.

Returns: boolean - True if the specified TIFF tag is found and removed; otherwise, false.

set(TiffTag tag)

public final void set(TiffTag tag)

Adds or replaces the specified tag.

Parameters:

Parameter Type Description
tag TiffTag The tag to set.

clear()

public final void clear()

Removes all TIFF tags stored in the package.