Class RdfNamespacedStream
- java.lang.Object
-
- org.fcrepo.http.commons.responses.RdfNamespacedStream
-
- All Implemented Interfaces:
AutoCloseable
public class RdfNamespacedStream extends Object implements AutoCloseable
A simple type to collect an RdfStream and associated Namespace mappings- Since:
- 2/13/16
- Author:
- acoburn
-
-
Constructor Summary
Constructors Constructor Description RdfNamespacedStream(RdfStream stream, Map<String,String> namespaces)
Creates an object to hold an RdfStream and an associated namespace mapping.
-
-
-
Constructor Detail
-
RdfNamespacedStream
public RdfNamespacedStream(RdfStream stream, Map<String,String> namespaces)
Creates an object to hold an RdfStream and an associated namespace mapping.- Parameters:
stream
- the RdfStreamnamespaces
- the namespace mapping
-
-
Method Detail
-
close
public void close()
- Specified by:
close
in interfaceAutoCloseable
-
-