use of nl.uva.cs.lobcder.resources.VPDRI in project lobcder by skoulouzis.
the class Catalogue method getPDRI.
public PDRI getPDRI(String fileUID) throws InterruptedException, IOException, URISyntaxException {
LogicalDataWrapped logicalData = getLogicalDataWrapped(fileUID);
// new PDRIDescr();
PDRIDescr pdriDesc = null;
pdriDesc = selectBestPDRI(logicalData.getPdriList());
Logger.getLogger(Catalogue.class.getName()).log(Level.FINE, "Selected pdri: {0}", pdriDesc.getResourceUrl());
return new VPDRI(pdriDesc.getName(), pdriDesc.getId(), pdriDesc.getResourceUrl(), pdriDesc.getUsername(), pdriDesc.getPassword(), pdriDesc.getEncrypt(), pdriDesc.getKey(), false);
}
Aggregations