public class TiffTags extends Object
| Modifier and Type | Field and Description |
|---|---|
static HashMap<Integer,Tag> |
tagMap
The tag map.
|
protected static HashMap<String,Tag> |
tagNames
The tag names.
|
static HashMap<Integer,String> |
tagTypes
The tag types.
|
| Modifier | Constructor and Description |
|---|---|
protected |
TiffTags()
Instantiates a new tiff tags.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
generateTagRules()
Generate tag rules.
|
static Tag |
getTag(int identifier)
Gets tag information.
|
static int |
getTagId(String name)
Gets the tag id.
|
static String |
getTagTypeName(int id)
Gets the tag type name.
|
static TiffTags |
getTiffTags()
Gets the tiff tags.
|
static int |
getTypeSize(int type)
Gets the type size.
|
static boolean |
hasTag(int id)
Checks for tag.
|
protected TiffTags()
throws ReadTagsIOException
ReadTagsIOException - the read tags io exceptionprotected void generateTagRules()
throws ReadTagsIOException
ReadTagsIOException - the read tags io exceptionpublic static TiffTags getTiffTags() throws ReadTagsIOException
ReadTagsIOException - the read tags io exceptionpublic static Tag getTag(int identifier)
identifier - Tag idpublic static int getTypeSize(int type)
type - the typepublic static int getTagId(String name)
name - the namepublic static boolean hasTag(int id)
id - the idpublic static String getTagTypeName(int id)
id - the idCopyright © 2015–2020. All rights reserved.