public XBeeAddress64(String addressStr){
  address=new int[8];
  if (addressStr.contains(" ")) {
    StringTokenizer st=new StringTokenizer(addressStr," ");
    for (int i=0; i < address.length; i++) {
      String byteStr=st.nextToken();
      address[i]=Integer.parseInt(byteStr,16);
    }
  }
 else {
    for (int i=0; i < address.length; i++) {
      address[i]=Integer.parseInt(addressStr.substring(i * 2,i * 2 + 2),16);
    }
  }
}

public XBeeAddress64 ( String addressStr ) { address = new int [ 8 ] ; if ( addressStr . contains ( " " ) ) { StringTokenizer st = new StringTokenizer ( addressStr , " " ) ; for ( int i = 0 ; i < address . length ; i ++ ) { String byteStr = st . nextToken ( ) ; address [ i ] = Integer . parseInt ( byteStr , 16 ) ; } } else { for ( int i = 0 ; i < address . length ; i ++ ) { address [ i ] = Integer . parseInt ( addressStr . substring ( i * 2 , i * 2 + 2 ) , 16 ) ; } } }
parses an 64 - bit xbee address from a string representation may be contain spaces # # # # # # # # # # # # # # # # or without # # # # # # # # # # # # # # # # but cannot use the 0x prefix ex : 0013a200408b98ff or 00 13 a2 00 40 8b 98 ff
