Collection<KnowledgeResourceTO> ontologies = new LinkedList<KnowledgeResourceTO>();
String file = "";
try {
for (int i = 0 ;i< resourceNames.length;i++) {
file = resourceNames[i];
KnowledgeSourcePK ontologyPK = new KnowledgeSourcePK(file);
KnowledgeResourceTO resource = new KnowledgeResourceTO(
(this.openInputStream(file)),ontologyPK);
ontologies.add(resource);
}
} catch (FileNotFoundException e) {