RawDictionaryBasePackage

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

public abstract class RawDictionaryBasePackage extends CustomPackage

Provides an abstract base class for EXIF metadata dictionaries.

Learn more

Methods

Method Description
toList() Creates a list from the package.
get_Item(long tagId) Gets the Raw tag with the specified id.
remove(long tagId) Removes the property with the specified id.
set(RawTag tag) Adds or replaces the specified tag.
clear() Removes all Raw tags stored in the package.

toList()

public final IReadOnlyList<RawTag> toList()

Creates a list from the package.

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

get_Item(long tagId)

public final RawTag get_Item(long tagId)

Gets the Raw tag with the specified id.

Parameters:

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

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

remove(long tagId)

public final boolean remove(long tagId)

Removes the property with the specified id.

Parameters:

Parameter Type Description
tagId long A Raw tag id.

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

set(RawTag tag)

public final void set(RawTag tag)

Adds or replaces the specified tag.

Parameters:

Parameter Type Description
tag RawTag The tag to set.

clear()

public final void clear()

Removes all Raw tags stored in the package.