public class RdfStreamStreamingOutput extends com.google.common.util.concurrent.AbstractFuture<Void> implements javax.ws.rs.core.StreamingOutput
RdfStream
.Modifier and Type | Field and Description |
---|---|
protected static Function<? super com.hp.hpl.jena.graph.Triple,org.openrdf.model.Statement> |
toStatement |
Constructor and Description |
---|
RdfStreamStreamingOutput(RdfStream rdfStream,
Map<String,String> namespaces,
javax.ws.rs.core.MediaType mediaType)
Normal constructor
|
Modifier and Type | Method and Description |
---|---|
protected static org.openrdf.model.Value |
getValueForObject(com.hp.hpl.jena.graph.Node object) |
void |
write(OutputStream output) |
protected static final Function<? super com.hp.hpl.jena.graph.Triple,org.openrdf.model.Statement> toStatement
public RdfStreamStreamingOutput(RdfStream rdfStream, Map<String,String> namespaces, javax.ws.rs.core.MediaType mediaType)
rdfStream
- the rdf streamnamespaces
- a namespace mappingmediaType
- the media typepublic void write(OutputStream output)
write
in interface javax.ws.rs.core.StreamingOutput
protected static org.openrdf.model.Value getValueForObject(com.hp.hpl.jena.graph.Node object)
Copyright © 2013–2016 DuraSpace, Inc.. All rights reserved.