Resource resource = geostore.getResource(shortResource.getId());
try {
String data = geostore.getData(shortResource.getId());
if(LOGGER.isTraceEnabled())
LOGGER.trace("Data "+data);
StoredData storedData = new StoredData();
storedData.setData(data);
resource.setData(storedData);
} catch(Exception e) {
LOGGER.warn("Error reading GeoStore resource" + shortResource + ": " + e.getMessage(), e);
}
resourceList.add(resource);