public static int parseCombiningClass(String s) throws Exception {
  int combining=-1;
  if (s.length() > 0) {
    combining=Integer.parseInt(s,10);
  }
  return combining;
}

public static int parseCombiningClass ( String s ) throws Exception { int combining = - 1 ; if ( s . length ( ) > 0 ) { combining = Integer . parseInt ( s , 10 ) ; } return combining ; }
parse the combining attribute for a unicode character . if there is a combining attribute and the parse succeeds , then the hascombining field is set to true , the combining field of this unicodespec object is updated , and false is returned . if the combining attribute is an empty string , the parse succeeds but the hascombining field is set to false . ( and false is returned ) . the combining attribute , if any , should be a nonnegative decimal integer .
