|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.openrdf.sesame.server.SesameStartup
Title: Sample standalone Sesame Application Description: Demonstrates an standalone Sesame Application Company: Sirma AI, OntoText Lab/
| Constructor Summary | |
SesameStartup()
|
|
| Method Summary | |
static void |
initialize(String fileName)
Initializes Sesame/OMM given a configuration file. |
static void |
initialize(String configHandlerClass,
Map configParams)
Initializes Sesame and loads the configuration. |
static void |
initialize(String fileName,
String parser)
Initializes Sesame/OMM given a configuration file and a parser class. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SesameStartup()
| Method Detail |
public static void initialize(String configHandlerClass,
Map configParams)
throws Exception
Note: special handling takes place when the Handler parses the configuration from an XML file: this requires that the System.property org.xml.sax.driver to be set. If the parser is not set it is assumed that this is the org.apache.xerces.parsers.SAXParser and is set accordingly.
configHandlerClass - The name of the configHandlerClass it must
implement SystemConfigHandler interface.configParams - A map containing the parameters required by the Handler.
Exception
public static void initialize(String fileName)
throws Exception
fileName - the file name of the configuration
Exception
public static void initialize(String fileName,
String parser)
throws Exception
fileName - the configuration file name.parser - XML parser class name to be used with the configuration file.
Exception
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||