1 5 6 package com.hp.hpl.jena.joseki; 7 8 import java.net.* ; 9 import com.hp.hpl.jena.rdf.model.*; 10 11 34 public class HttpAdd extends HttpExecuteModel 35 { 36 37 public HttpAdd(URL url) throws MalformedURLException 38 { 39 this(url.toString()) ; 40 } 41 42 43 public HttpAdd(String urlStr) throws MalformedURLException 44 { 45 super(urlStr, "add") ; 46 } 47 48 51 public void add(Model model) { collect(model) ; } 52 53 56 public void add(Statement statement) { collect(statement) ; } 57 } 58 59 60 86 87 | Popular Tags |