java.lang.Object
org.apache.jena.riot.protobuf.ProtobufRDF_Blk
Specialist.
The normal use operations are in
ProtobufRDF
.
This operations assume Protobuf data is "as given" without stream delimiters. A single operation will read or write a whole file.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
inputStreamBlkToStreamRDF
(InputStream input, StreamRDF stream) Read an input stream as a single unit (no length delimiters).static void
streamToOutputStreamBlk
(OutputStream outputStream, Consumer<StreamRDF> streamDest) Write all of theStreamRDF
to an output stream without length delimiters.
-
Constructor Details
-
ProtobufRDF_Blk
public ProtobufRDF_Blk()
-
-
Method Details
-
inputStreamBlkToStreamRDF
Read an input stream as a single unit (no length delimiters). Send items to anStreamRDF
-
streamToOutputStreamBlk
public static void streamToOutputStreamBlk(OutputStream outputStream, Consumer<StreamRDF> streamDest) Write all of theStreamRDF
to an output stream without length delimiters. "apply"
-