|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnesstar.rdf.RDFDB
nesstar.api.NetDB
public class NetDB
A repository and cache for nesstar_rdf objects information from the internet.
| Field Summary |
|---|
| Fields inherited from class nesstar.rdf.RDFDB |
|---|
FASTER_NS, NESSTAR_NS, NS_BOOLEAN, NS_COMPLETE, NS_DOMAIN, NS_DOUBLE, NS_FILE, NS_FLOAT, NS_IN, NS_INTEGER, NS_LABEL, NS_METHOD, NS_METHOD_OBJ, NS_OBJECT, NS_OPTIONAL, NS_OUT, NS_PARAMETER, NS_PATH, NS_READONLY, NS_STRING, NS_VOID, NS_ZIPPED_STRING, RDF_BAG, RDF_NS, RDFS_CLASS, RDFS_DOMAIN, RDFS_NS, RDFS_PROPERTY, RDFS_RANGE, RDFS_RESOURCE, RDFS_SUBCLASS, TRUE |
| Constructor Summary | |
|---|---|
NetDB()
Constructor for the NetDB object |
|
| Method Summary | |
|---|---|
static void |
createDefaultDB()
Create and initialise the default DB |
static NetDB |
getDB()
Gets the dB attribute of the NetDB class |
static void |
init()
Use this method to create the default DB and load basics in one step if you don't want to add your own settings |
static void |
initDB(NetDB db)
Create and initialise the default DB |
void |
loadBasics()
Load in the DB some basic objects (basic classes, properties, etc.) |
void |
loadResourceContent(String resourceName)
Load in the DB the content of a local resource file. |
| Methods inherited from class nesstar.rdf.RDFDB |
|---|
addClassMapping, addDefaultMapping, addMapping, addRDFSClassMapping, collectObjects, defaultWrap, getContext, getLocalObjURL, getUniqueID, iterator, load, load, load, load, load, load, lookup, lookup, makeSureTypeIsSet, markAllAsComplete, markAllAsStale, markAsStale, nestedToRDF, nToRDF, nToRDF, nToRDF, nToRDF, objsToStringIds, printMappings, printObjs, recreate, reload, reload, remove, remove, retrieve, retrieve, retrieveWithClassChain, search, search, search, search, search, searchAllOfType, searchOne, searchUniqueOfType, setContext, setLocalObjURL, stringIdsToObjs, stringIdsToObjs, toRDF, toRDF, toRDF, toRDF, toRDFCasted, toRDFNoWrap, toRDFObj, toRDFObj, toRDFWrapped, unique, wrap |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NetDB()
throws Exception
Exception| Method Detail |
|---|
public static NetDB getDB()
public void loadResourceContent(String resourceName)
throws Exception
resourceName -
Exception
public void loadBasics()
throws Exception
Exception
public static void createDefaultDB()
throws Exception
Exception
public static void initDB(NetDB db)
throws Exception
Exception
public static void init()
throws Exception
Exception
|
Nesstar SDK | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||