|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.openrdf.sesame.Sesame
Class providing a static entry point to the Sesame APIs.
| Constructor Summary | |
Sesame()
|
|
| Method Summary | |
static LocalService |
getService()
Get an empty local SesameService. |
static LocalService |
getService(File systemConfigFile)
Get a local SesameService initialized with the specified system configuration file. |
static LocalService |
getService(SystemConfig config)
Get a local SesameService initialized with the supplied configuration. |
static SesameService |
getService(URI serverURI)
Get a remote SesameService object for a server running at the specified URI. |
static HTTPService |
getService(URL serverURL)
Get a remote SesameService object for a server running at the specified URL. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Sesame()
| Method Detail |
public static LocalService getService()
public static LocalService getService(SystemConfig config)
config - The configuration.
public static LocalService getService(File systemConfigFile)
throws IOException
systemConfigFile - The system configuration file.
IOException - If the specified system configuration file could
not be read.public static HTTPService getService(URL serverURL)
serverURL - The URL to connect to, e.g.
http://localhost:8080/sesame/
IllegalArgumentException - If the protocol of the specified URL
is not "http".public static SesameService getService(URI serverURI)
serverURI - The URI to connect to, e.g.
rmi://remote.sesame.svr:1099/.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||