use of eu.esdihumboldt.hale.common.codelist.io.CodeListReader in project hale by halestudio.
the class SkosCodeListTest method readCodeList.
private CodeList readCodeList(URI source) throws Exception {
CodeListReader reader = new SkosCodeListReader();
reader.setSource(new DefaultInputSupplier(source));
IOReport report = reader.execute(new LogProgressIndicator());
assertTrue(report.isSuccess());
return reader.getCodeList();
}
Aggregations