public abstract class TagDescriptor<T extends Directory>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected T |
_directory |
Constructor and Description |
---|
TagDescriptor(T directory) |
Modifier and Type | Method and Description |
---|---|
static java.lang.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.
|
java.lang.String |
getDescription(int tagType)
Returns a descriptive value of the the specified tag for this image.
|
public TagDescriptor(T directory)
public java.lang.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 java.lang.String convertBytesToVersionString(int[] components, int majorDigits)
components
- the four version valuesmajorDigits
- the number of components to beCopyright © 2002-2013 Drew Noakes. All Rights Reserved.