org.openrdf.sesame.sailimpl.memory
Class RdfSchemaRepositoryConfig
java.lang.Object
org.openrdf.sesame.config.SailConfig
org.openrdf.sesame.sailimpl.memory.RdfSourceConfig
org.openrdf.sesame.sailimpl.memory.RdfRepositoryConfig
org.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.config.SailConfig |
clone, equals, getConfigParameters, getParameter, getSailClass, hashCode, hasParameter, removeParameter, setConfigParameters, setParameter, setParameterKey, setParameterValue, setSailClass |
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.