Skip navigation links

Package fr.inria.atlanmod.neoemf.data.mapdb.util

Provides utility classes to create MapDB specific URIs.

See: Description

Package fr.inria.atlanmod.neoemf.data.mapdb.util Description

Provides utility classes to create MapDB specific URIs.

This package defines the MapDbURI class, that extends PersistenceURI to create MapDB specific URIs. MapDbURIs are convenience wrappers of EMF URIs that set a dedicated protocol that is parsed by NeoEMF to create the appropriate database.

MapDbURIs are created using the following code:


 URI mapDBURI = MapDBURI.createFileURI(new File("model_path"));

 // The created URI can be used as a regular EMF URI to create a NeoEMF resource
 Resource neoEMFResource = resourceSet.createResource(hbaseURI);

 // And accessed as a regular EMF resource
 neoEMFResource.getContents() [...]
 
Skip navigation links

Copyright © 2013–2017 Atlanmod INRIA LINA Mines Nantes. All rights reserved.