org.topbraid.core.io
Class AbstractGraphStore

java.lang.Object
  extended by org.topbraid.core.io.AbstractGraphStore
All Implemented Interfaces:
IGraphStore
Direct Known Subclasses:
AllegroGraphStore, JenaFileGraphStore, RDFaGraphStore, SesameNativeGraphStore, SesameRemoteGraphStore, SPARQLEndpointGraphStore

public abstract class AbstractGraphStore
extends java.lang.Object
implements IGraphStore


Constructor Summary
AbstractGraphStore()
           
 
Method Summary
 java.lang.String[] getFileExtensions()
          Returns an (optional) array of file extensions that this graph store can handle.
static com.hp.hpl.jena.rdf.model.Model loadN3(org.eclipse.core.resources.IFile file)
           
static java.util.Properties loadProperties(org.eclipse.core.resources.IFile file)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.topbraid.core.io.IGraphStore
close, getBaseURI, getImageMetadata, isReadOnly, load, save, saveAs
 

Constructor Detail

AbstractGraphStore

public AbstractGraphStore()
Method Detail

getFileExtensions

public java.lang.String[] getFileExtensions()
Description copied from interface: IGraphStore
Returns an (optional) array of file extensions that this graph store can handle. This can be used by graph stores that cannot be fully configured through the string attribute of the extension point.

Specified by:
getFileExtensions in interface IGraphStore
Returns:
a list of extensions or null for none

loadN3

public static com.hp.hpl.jena.rdf.model.Model loadN3(org.eclipse.core.resources.IFile file)
                                              throws org.eclipse.core.runtime.CoreException
Throws:
org.eclipse.core.runtime.CoreException

loadProperties

public static java.util.Properties loadProperties(org.eclipse.core.resources.IFile file)
                                           throws java.io.IOException,
                                                  java.io.FileNotFoundException
Throws:
java.io.IOException
java.io.FileNotFoundException