Package com.thebuzzmedia.exiftool.core
Class NonConvertedTag
java.lang.Object
com.thebuzzmedia.exiftool.core.NonConvertedTag
- All Implemented Interfaces:
Tag
Utility class used to generate tags which are not print converted. This is
done in Exiftool by suffixing
#
to the tag and it has the same
effect of -n
but applied on a per-tag basis.
The class wraps another tag and manages its different query name. By design
NonConvertedTag.of(Tag.ANY)
is not equal to Tag.ANY
since it's possible to query two different formats of the same tag.- Author:
- Jack ([email protected])
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Used to get the display name of the tag, which is the actual name printed by the tool on stout.getName()
Used to get the name of the tag (e.g.int
hashCode()
static NonConvertedTag
Create the tag from given original one.<T> T
Parse given tag to the correct data format.toString()
-
Method Details
-
of
Create the tag from given original one.- Parameters:
original
- The original one.- Returns:
- The new tag.
-
getName
Description copied from interface:Tag
Used to get the name of the tag (e.g. "Orientation", "ISO", etc.). This is the value actually used to invoke the tool. -
getDisplayName
Description copied from interface:Tag
Used to get the display name of the tag, which is the actual name printed by the tool on stout. For simple tags this is equivalent to value returned bygetName
.- Specified by:
getDisplayName
in interfaceTag
- Returns:
- Display name of the tag.
-
parse
Description copied from interface:Tag
Parse given tag to the correct data format. -
toString
-
hashCode
public int hashCode() -
equals
-