Ejemplo n.º 1
0
 /**
  * Creates a client driver for the 4Store server identified
  *
  * @param u base URL of the 4Store httpd server
  * @throws MalformedURLException
  */
 public Store(URL u) throws MalformedURLException {
   baseURL = u;
   init();
 }
Ejemplo n.º 2
0
 /**
  * Creates a client driver for the 4Store server identified
  *
  * @param u String representation of the base URL of the 4Store httpd server
  * @throws MalformedURLException
  */
 public Store(String u) throws MalformedURLException {
   baseURL = new URL(u);
   inFormat = InputFormat.XML;
   outFormat = OutputFormat.SPARQL_XML;
   init();
 }