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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidinputStreamBlkToStreamRDF(InputStream input, StreamRDF stream) Read an input stream as a single unit (no length delimiters).static voidstreamToOutputStreamBlk(OutputStream outputStream, Consumer<StreamRDF> streamDest) Write all of theStreamRDFto 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 theStreamRDFto an output stream without length delimiters. "apply"
-