public final Set<String> ppi = new HashSet<String>();\r
\r
public final void enroll(String filepath) throws Exception {\r
- String[] temp;\r
if (filepath.contains(".c") || filepath.contains(".C") || filepath.contains(".h") || \r
filepath.contains(".H") || filepath.contains(".dxs") || filepath.contains(".uni")) {\r
- temp = filepath.split("\\\\");\r
- localmodulesources.add(temp[temp.length - 1]);\r
+ localmodulesources.add(filepath.replace(modulepath + "\\", ""));\r
} else if (filepath.contains(".inf") || filepath.contains(".msa")) {\r
- temp = filepath.split("\\\\");\r
- msaorinf.add(temp[temp.length - 1]);\r
+ msaorinf.add(filepath.replace(modulepath + "\\", ""));\r
}\r
}\r
\r