thisString = thisString.trim();
    private void addDataToCurrentArray ( Locator dataLocator,                                          String thisString,                                          DataFormat CurrentDataFormat,                                          int intRadix                                       )     throws SetDataException    {// this stuff slows down the parser too much to leave commented in.// uncomment as needed/*Log.info("Add Data:["+thisString+"] (");List axes = dataLocator.getIterationOrder();Iterator liter = axes.iterator();while (liter.hasNext()) {   AxisInterface axis = (AxisInterface) liter.next();   Log.info(dataLocator.getAxisIndex(axis)+ " ["+axis.getAxisId()+"],");}Log.infoln(") ["+CurrentDataFormat+"]");*/       // Note that we dont treat binary data at all here        // try {           if ( CurrentDataFormat instanceof StringDataFormat) {              CurrentArray.setData(dataLocator, thisString);           } else if ( CurrentDataFormat instanceof FloatDataFormat                       || CurrentDataFormat instanceof BinaryFloatDataFormat)            {              Double number = new Double (thisString);              CurrentArray.setData(dataLocator, number.doubleValue());           } else if ( CurrentDataFormat instanceof IntegerDataFormat                       || CurrentDataFormat instanceof BinaryIntegerDataFormat)            {              // Integer number = new Integer (thisString);              if (intRadix == 16) // peal off leading "0x"                  thisString = thisString.substring(2);              int thisInt = 0;              // *sigh* parseInt doesnt understand leading "+" signs. We need               // to trap those errors an deal with them appropriately              try {                 thisInt = Integer.parseInt(thisString, intRadix);              } catch (NumberFormatException e) {                 if (thisString.startsWith("+")) {                    thisInt = Integer.parseInt(thisString.substring(1), intRadix);                 } else {                    throw e;                 }              }              CurrentArray.setData(dataLocator, thisInt);           } else {              Log.warnln("Unknown data format, unable to setData:["+thisString+"], ignoring request");           }/*       } catch (SetDataException e) {           // bizarre error. Cant add data (out of memory??) :P           Log.errorln("Unable to setData:["+thisString+"], ignoring request");           Log.printStackTrace(e);       }*/    }