public Datastore<JsonFileStoreSession, JsonNodeMetadata, String> createDatastore(CdoUnit cdoUnit) {
URL url = cdoUnit.getUrl();
if (!"file".equals(url.getProtocol())) {
throw new CdoException("Only file URLs are supported by this store.");
}
return new JsonFileStore(url.getPath());
}