org.openrdf.sesame.sailimpl.memory
Class RdfSchemaRepositoryConfig

java.lang.Object
  extended byorg.openrdf.sesame.config.SailConfig
      extended byorg.openrdf.sesame.sailimpl.memory.RdfSourceConfig
          extended byorg.openrdf.sesame.sailimpl.memory.RdfRepositoryConfig
              extended byorg.openrdf.sesame.sailimpl.memory.RdfSchemaRepositoryConfig
All Implemented Interfaces:
Cloneable

public class RdfSchemaRepositoryConfig
extends RdfRepositoryConfig

Extension of RdfRepositoryConfig offering additional utility methods for configuring a org.openrdf.sesame.sailimpl.memory.RdfSchemaRepository Sail.


Constructor Summary
RdfSchemaRepositoryConfig()
          Creates a new RdfSchemaRepositoryConfig object for an org.openrdf.sesame.sailimpl.memory.RdfSchemaRepository Sail.
RdfSchemaRepositoryConfig(String file)
          Creates a new RdfSchemaRepositoryConfig object for an org.openrdf.sesame.sailimpl.memory.RdfSchemaRepository Sail that will contain the XML-encoded RDF data from specified file.
RdfSchemaRepositoryConfig(String file, RDFFormat dataFormat)
          Creates a new RdfSchemaRepositoryConfig object for an org.openrdf.sesame.sailimpl.memory.RdfSchemaRepository Sail that will contain the data from specified file.
 
Methods inherited from class org.openrdf.sesame.sailimpl.memory.RdfRepositoryConfig
getCompressFile, getSyncDelay, setCompressFile, setSyncDelay
 
Methods inherited from class org.openrdf.sesame.sailimpl.memory.RdfSourceConfig
getDataFormat, getFile, setDataFormat, setFile
 
Methods inherited from class org.openrdf.sesame.config.SailConfig
clone, equals, getConfigParameters, getParameter, getSailClass, hashCode, hasParameter, removeParameter, setConfigParameters, setParameter, setParameterKey, setParameterValue, setSailClass
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RdfSchemaRepositoryConfig

public RdfSchemaRepositoryConfig()
Creates a new RdfSchemaRepositoryConfig object for an org.openrdf.sesame.sailimpl.memory.RdfSchemaRepository Sail. The data in the configured sail will be volatile if no data file is specified; all data contained in the Sail will be lost when the Sail object is destroyed.

See Also:
RdfSourceConfig.setFile(java.lang.String)

RdfSchemaRepositoryConfig

public RdfSchemaRepositoryConfig(String file)
Creates a new RdfSchemaRepositoryConfig object for an org.openrdf.sesame.sailimpl.memory.RdfSchemaRepository Sail that will contain the XML-encoded RDF data from specified file.

Parameters:
file - The data file.

RdfSchemaRepositoryConfig

public RdfSchemaRepositoryConfig(String file,
                                 RDFFormat dataFormat)
Creates a new RdfSchemaRepositoryConfig object for an org.openrdf.sesame.sailimpl.memory.RdfSchemaRepository Sail that will contain the data from specified file.

Parameters:
file - The data file.
dataFormat - The format of the data in the data file. Legal values are RDFFormat.RDFXML, RDFFormat.NTRIPLES and RDFFormat.TURTLE.


Copyright © 2002-2006 Aduna BV, GNU LGPL License applies.