if(log.isDebugEnabled()) { log.debug(propertyName + " Type: " + propData.getType()); }
  protected int setPropertyForAsset(String prop, int newVal,                                    StreamTokenizer tokens, AgentAssetData aad)    throws IOException  {    String propertyName = prop.substring(1, prop.length()-1).trim();    if(log.isDebugEnabled()) {      log.debug("Creating PropGroupData: " + propertyName);    }    PropGroupData pgData = new PropGroupData(propertyName);    PGPropData propData = null;    try {      newVal = tokens.nextToken();      String member = tokens.sval;      // Parse through the property section of the file      while (newVal != StreamTokenizer.TT_EOF) {        if ((tokens.ttype == StreamTokenizer.TT_WORD)            && !(tokens.sval.substring(0,1).equals("["))) {          propData = new PGPropData();          propData.setName(member);          if(log.isDebugEnabled()) {            log.debug("Name: " + propData.getName());          }          newVal = tokens.nextToken();          String dataType = tokens.sval;          newVal = tokens.nextToken();          propData.setType(getType(dataType));          if(log.isDebugEnabled()) {            log.debug(propertyName + " Type: " + propData.getType());          }          String subType = getSubType(dataType);          if(subType != null) {            propData.setSubType(subType);            if(log.isDebugEnabled()) {              log.debug(propertyName + " Subtype: " + subType);            }          }          propData.setValue(getValue(parseArgs(dataType, tokens.sval)));          newVal = tokens.nextToken();          member = tokens.sval;          pgData.addProperty(propData);        } else {          // Reached a left bracket "[", want to exit block          break;        }      } //while      // Add the property to the asset      aad.addPropertyGroup(pgData);    } catch (IOException e) {      throw e;    } catch (Exception e) {      if(log.isErrorEnabled()) {        log.error("Exception during parse", e);      }    }    return newVal;  }