Class TriGWriterFactory
java.lang.Object
org.eclipse.rdf4j.rio.trig.TriGWriterFactory
- All Implemented Interfaces:
 RDFWriterFactory
An 
RDFWriterFactory for TriG parsers.- Author:
 - Arjohn Kampman
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionReturnsRDFFormat.TRIG.getWriter(OutputStream out) Returns a new instance ofTriGWriter.getWriter(OutputStream out, String baseURI) Returns a new instance ofTriGWriter.Returns a new instance ofTriGWriter.Returns a new instance ofTriGWriter. 
- 
Constructor Details
- 
TriGWriterFactory
public TriGWriterFactory() 
 - 
 - 
Method Details
- 
getRDFFormat
ReturnsRDFFormat.TRIG.- Specified by:
 getRDFFormatin interfaceRDFWriterFactory
 - 
getWriter
Returns a new instance ofTriGWriter.- Specified by:
 getWriterin interfaceRDFWriterFactory- Parameters:
 out- The OutputStream to write the RDF to.
 - 
getWriter
Returns a new instance ofTriGWriter.- Specified by:
 getWriterin interfaceRDFWriterFactory- Parameters:
 out- The OutputStream to write the RDF to.baseURI- The URI associated with the data in the InputStream.- Throws:
 URISyntaxException
 - 
getWriter
Returns a new instance ofTriGWriter.- Specified by:
 getWriterin interfaceRDFWriterFactory- Parameters:
 writer- The Writer to write the RDF to.
 - 
getWriter
Returns a new instance ofTriGWriter.- Specified by:
 getWriterin interfaceRDFWriterFactory- Parameters:
 writer- The Writer to write the RDF to.baseURI- The URI associated with the data in the InputStream.- Throws:
 URISyntaxException
 
 -