/** * Loads the properties in the deterministicInteractorMap * @param prop : properties */ protected void loadProperties(Properties prop) { for (Map.Entry<Object, Object> entry : prop.entrySet()){ String[] values = extractCvTermFromKey((String)entry.getKey()); if (values.length != 2){ this.deterministicInteractorNameMap.put(values[0], InteractorCategory.valueOf((String)entry.getValue())); } else { this.deterministicInteractorNameMap.put(values[1].replaceAll("\\)", ""), InteractorCategory.valueOf((String)entry.getValue())); this.deterministicInteractorIdMap.put(values[0], InteractorCategory.valueOf((String)entry.getValue())); } } }