public static int getTagId ( String name ) { int id = - 1 ; try { if ( instance == null ) getTiffTags ( ) ; } catch ( ReadTagsIOException e ) { /*Nothing to be shown*/ } if ( tagNames . containsKey ( name ) ) id = tagNames . get ( name ) . getId ( ) ; return id ; }
Gets the tag id .