Interface Sink
- All Known Implementing Classes:
 AbstractQueryResultWriter, AbstractRDFWriter, BinaryQueryResultWriter, BinaryRDFWriter, BooleanTextWriter, ConsoleQueryResultWriter, ConsoleRDFWriter, JSONLDWriter, JSONLDWriter, N3Writer, NDJSONLDWriter, NDJSONLDWriter, NQuadsWriter, NTriplesWriter, RDFJSONWriter, RDFXMLPrettyWriter, RDFXMLWriter, SPARQLBooleanJSONWriter, SPARQLBooleanXMLWriter, SPARQLResultsCSVWriter, SPARQLResultsJSONWriter, SPARQLResultsTSVWriter, SPARQLResultsXMLWriter, SPARQLStarResultsJSONWriter, SPARQLStarResultsTSVWriter, SPARQLStarResultsXMLWriter, TriGStarWriter, TriGWriter, TriXWriter, TurtleStarWriter, TurtleWriter
public interface Sink
A Sink writes a data stream in a particular 
FileFormat.- Since:
 - 3.5.0
 - Author:
 - Jeen Broekstra
 
- 
Method Summary
Modifier and TypeMethodDescriptiondefault booleanacceptsFileFormat(FileFormat format) Check if this Sink accepts the suppliedFileFormat.Get theFileFormatthis sink uses. 
- 
Method Details
- 
getFileFormat
FileFormat getFileFormat()Get theFileFormatthis sink uses.- Returns:
 - a 
FileFormat. May not benull. 
 - 
acceptsFileFormat
Check if this Sink accepts the suppliedFileFormat.- Parameters:
 format- theFileFormatto check.- Returns:
 trueif the sink accepts the supplied format,falseotherwise.
 
 -