public class IfdTags extends Object implements Serializable
| Constructor and Description |
|---|
IfdTags()
Instantiates a new set of tags.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addTag(String tagName,
int[] tagValue)
Adds the tag.
|
void |
addTag(String tagName,
String tagValue)
Adds the tag.
|
void |
addTag(TagValue tag)
Adds a tag to the set.
|
boolean |
containsTagId(int id)
Returns true if the id is contained.
|
TagValue |
get(int id)
Gets the Tag identified by its id.
|
TagValue |
get(String tagName)
Gets the Tag identified by its id.
|
ArrayList<TagValue> |
getTags()
Returns the tag list.
|
void |
removeTag(String tagName)
Removes the tag.
|
String |
toString() |
public void addTag(TagValue tag)
tag - the tag to addpublic void addTag(String tagName, int[] tagValue)
tagName - the tag nametagValue - the tag valuepublic void addTag(String tagName, String tagValue)
tagName - the tag nametagValue - the tag valuepublic void removeTag(String tagName)
tagName - the tag namepublic boolean containsTagId(int id)
id - the id to checkpublic TagValue get(int id)
id - tag idpublic TagValue get(String tagName)
tagName - the tag nameCopyright © 2015–2020. All rights reserved.