if (mGraphsDir.exists()) {
for (String mGraphDirName : mGraphsDir.list()) {
try {
UriRef uri = new UriRef(URLDecoder.decode(mGraphDirName, "utf-8"));
log.info("loading: "+mGraphDirName);
mGraphMap.put(uri, new LockableMGraphWrapper(getMGraph(new File(mGraphsDir, mGraphDirName))));
} catch (UnsupportedEncodingException ex) {
throw new RuntimeException("utf-8 not supported", ex);
} catch (Exception e) {
log.error("Could not load tdb graph in "+mGraphDirName, e);
}