01: /*
02: * Copyright Aduna (http://www.aduna-software.com/) (c) 1997-2006.
03: *
04: * Licensed under the Aduna BSD-style license.
05: */
06: package org.openrdf.http.webclient.repository.modify.add;
07:
08: import java.io.IOException;
09: import java.io.InputStream;
10:
11: import org.openrdf.rio.RDFFormat;
12:
13: /**
14: * @author Herko ter Horst
15: */
16: public abstract class RDFUpload {
17:
18: private String baseUri;
19:
20: private RDFFormat format = RDFFormat.RDFXML;
21:
22: public RDFFormat getFormat() {
23: return format;
24: }
25:
26: public void setFormat(RDFFormat format) {
27: this .format = format;
28: }
29:
30: public String getBaseUri() {
31: return baseUri;
32: }
33:
34: public void setBaseUri(String baseUri) {
35: this .baseUri = baseUri;
36: }
37:
38: public abstract InputStream getInputStream() throws IOException;
39:
40: public abstract String getI18n();
41: }
|