question: public static int parseUpperMap ( String s ) throws NumberFormatException { int upperCase = MAP_UNDEFINED ; int length = s . length ( ) ; if ( length >= 4 && length <= 6 ) { upperCase = Integer . parseInt ( s , 16 ) ; } else if ( s . length ( ) != 0 ) { throw new NumberFormatException ( ) ; } return upperCase ; }
target:  Parse the uppercase mapping attribute for a Unicode character.  If there is a uppercase mapping attribute and the parse succeeds, then the hasUpperMap field is set to true, the upperMap field of this UnicodeSpec object is updated, and false is returned. If the uppercase mapping attribute is an empty string, the parse succeeds but the hasUpperMap field is set to false. (and false is returned). The uppercase mapping attribute should be a four to six digit hexadecimal integer.