public class TagDescriptor<T extends Directory> extends Object
| Constructor and Description |
|---|
TagDescriptor(T directory) |
| Modifier and Type | Method and Description |
|---|---|
static String |
convertBytesToVersionString(int[] components,
int majorDigits)
Takes a series of 4 bytes from the specified offset, and converts these to a
well-known version number, where possible.
|
String |
getDescription(int tagType)
Returns a descriptive value of the specified tag for this image.
|
public TagDescriptor(T directory)
public String getDescription(int tagType)
getString(tagType) will be returned.tagType - the tag to find a description fornull if the tag hasn't been defined.public static String convertBytesToVersionString(int[] components, int majorDigits)
Two different formats are processed:
components - the four version valuesmajorDigits - the number of components to beCopyright © 2002-2020 Drew Noakes. All Rights Reserved.