|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.topbraid.core.io.AbstractGraphStore
org.topbraid.allegro.graphstore.AllegroGraphStore
public class AllegroGraphStore
| Constructor Summary | |
|---|---|
AllegroGraphStore()
|
|
| Method Summary | |
|---|---|
static void |
addExistingPrefixes(java.io.File file,
java.util.Properties properties)
|
static void |
addPrefixesToProperties(java.util.Properties properties,
com.hp.hpl.jena.shared.PrefixMapping pm)
|
void |
close(org.eclipse.core.resources.IFile file)
Closes any resources allocated by a given file. |
static com.franz.ag.AllegroGraphConnection |
createConnection(java.util.Properties properties)
|
static com.franz.ag.AllegroGraphJenaImpl |
createGraph(com.franz.ag.AllegroGraph ag,
java.util.Properties properties)
|
java.net.URI |
getBaseURI(org.eclipse.core.resources.IFile file,
java.util.Set imports)
Gets the declared base URI and the owl:imports of a given file. |
ImageMetadata |
getImageMetadata()
Gets a (base) image to display files of this type in the Navigator (and potentially elsewhere). |
static void |
initPrefixMapping(com.hp.hpl.jena.graph.Graph graph,
java.util.Properties p)
|
boolean |
isReadOnly(org.eclipse.core.resources.IFile file)
Checks if a given IFile is read-only. |
com.hp.hpl.jena.graph.Graph |
load(org.eclipse.core.resources.IFile file,
org.eclipse.core.runtime.IProgressMonitor monitor)
Creates a new Jena Graph for a given IFile. |
void |
save(org.eclipse.core.resources.IFile file,
com.hp.hpl.jena.graph.Graph graph,
java.lang.String baseURI)
|
boolean |
saveAs(org.eclipse.core.resources.IFile file,
com.hp.hpl.jena.graph.Graph graph,
java.lang.String baseURI)
|
static void |
updateNamespaceProperties(com.hp.hpl.jena.graph.Graph graph,
java.lang.String baseURI,
java.util.Properties properties)
|
| Methods inherited from class org.topbraid.core.io.AbstractGraphStore |
|---|
getFileExtensions, loadN3, loadProperties |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AllegroGraphStore()
| Method Detail |
|---|
public static void addExistingPrefixes(java.io.File file,
java.util.Properties properties)
throws java.io.IOException
java.io.IOException
public static void addPrefixesToProperties(java.util.Properties properties,
com.hp.hpl.jena.shared.PrefixMapping pm)
public void close(org.eclipse.core.resources.IFile file)
throws java.lang.Exception
IGraphStore
file - the file representing the store
java.lang.Exception
public static com.franz.ag.AllegroGraphConnection createConnection(java.util.Properties properties)
throws java.lang.Exception
java.lang.Exception
public static com.franz.ag.AllegroGraphJenaImpl createGraph(com.franz.ag.AllegroGraph ag,
java.util.Properties properties)
public java.net.URI getBaseURI(org.eclipse.core.resources.IFile file,
java.util.Set imports)
throws java.lang.Exception
IGraphStore
file - the file to get the base URI ofimports - an initially empty Set that will contain imported URIs
java.lang.Exceptionpublic ImageMetadata getImageMetadata()
IGraphStore
public static void initPrefixMapping(com.hp.hpl.jena.graph.Graph graph,
java.util.Properties p)
public boolean isReadOnly(org.eclipse.core.resources.IFile file)
IGraphStore
public com.hp.hpl.jena.graph.Graph load(org.eclipse.core.resources.IFile file,
org.eclipse.core.runtime.IProgressMonitor monitor)
throws java.lang.Exception
IGraphStore
file - the file to loadmonitor - the monitor for status reports or null
java.lang.Exception - if something went wrong
public void save(org.eclipse.core.resources.IFile file,
com.hp.hpl.jena.graph.Graph graph,
java.lang.String baseURI)
throws java.io.IOException
java.io.IOException
public boolean saveAs(org.eclipse.core.resources.IFile file,
com.hp.hpl.jena.graph.Graph graph,
java.lang.String baseURI)
throws java.lang.Exception
java.lang.Exception
public static void updateNamespaceProperties(com.hp.hpl.jena.graph.Graph graph,
java.lang.String baseURI,
java.util.Properties properties)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||