private Map<String,String> parseLicenseVendorStrings(String licenseText){
  Pattern pattern=Pattern.compile(LicenseConstants.LICENSE_PATTERN,Pattern.DOTALL);
  Map<String,String> featureMap=new HashMap<String,String>();
  String[] licenseFeatures=licenseText.split(LicenseConstants.LICENSE_FEATRES_DELIM);
  for (  String licenseFeature : licenseFeatures) {
    if (licenseFeature == null || licenseFeature.isEmpty()) {
      continue;
    }
    Matcher matcher=pattern.matcher(licenseFeature.trim());
    if (matcher.find()) {
      featureMap.put(matcher.group(1),matcher.group(2));
    }
  }
  return featureMap;
}

private Map < String , String > parseLicenseVendorStrings ( String licenseText ) { Pattern pattern = Pattern . compile ( LicenseConstants . LICENSE_PATTERN , Pattern . DOTALL ) ; Map < String , String > featureMap = new HashMap < String , String > ( ) ; String [ ] licenseFeatures = licenseText . split ( LicenseConstants . LICENSE_FEATRES_DELIM ) ; for ( String licenseFeature : licenseFeatures ) { if ( licenseFeature == null || licenseFeature . isEmpty ( ) ) { continue ; } Matcher matcher = pattern . matcher ( licenseFeature . trim ( ) ) ; if ( matcher . find ( ) ) { featureMap . put ( matcher . group ( 1 ) , matcher . group ( 2 ) ) ; } } return featureMap ; }
parse the license text manually to get the model id ' s and appropriate vendor string . this must be done manually because retrieving this via the elms api does not work
