Franz Inc, AllegroGraph

com.franz.openrdf.rio.nquads
Class NQuadsWriter

java.lang.Object
  extended by org.openrdf.rio.helpers.RDFWriterBase
      extended by com.franz.openrdf.rio.nquads.NQuadsWriter
All Implemented Interfaces:
org.openrdf.rio.RDFHandler, org.openrdf.rio.RDFWriter

Deprecated. Use NQuadsWriter instead

@Deprecated
public class NQuadsWriter
extends org.openrdf.rio.helpers.RDFWriterBase

An implementation of the RDFWriter interface that writes RDF documents in N-Quads format. The N-Quads format is defined here.


Constructor Summary
NQuadsWriter(OutputStream out)
          Deprecated. Creates a new NQuadsWriter that will write to the supplied OutputStream.
NQuadsWriter(Writer writer)
          Deprecated. Creates a new NQuadsWriter that will write to the supplied Writer.
 
Method Summary
 void endRDF()
          Deprecated.  
 org.openrdf.rio.RDFFormat getRDFFormat()
          Deprecated.  
 void handleComment(String comment)
          Deprecated.  
 void handleNamespace(String prefix, String name)
          Deprecated.  
 void handleStatement(org.openrdf.model.Statement st)
          Deprecated.  
 void startRDF()
          Deprecated.  
 
Methods inherited from class org.openrdf.rio.helpers.RDFWriterBase
getSupportedSettings, getWriterConfig, setWriterConfig
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NQuadsWriter

public NQuadsWriter(OutputStream out)
Deprecated. 
Creates a new NQuadsWriter that will write to the supplied OutputStream.

Parameters:
out - The OutputStream to write the N-Quads document to.

NQuadsWriter

public NQuadsWriter(Writer writer)
Deprecated. 
Creates a new NQuadsWriter that will write to the supplied Writer.

Parameters:
writer - The Writer to write the N-Quads document to.
Method Detail

getRDFFormat

public org.openrdf.rio.RDFFormat getRDFFormat()
Deprecated. 

startRDF

public void startRDF()
              throws org.openrdf.rio.RDFHandlerException
Deprecated. 
Throws:
org.openrdf.rio.RDFHandlerException

endRDF

public void endRDF()
            throws org.openrdf.rio.RDFHandlerException
Deprecated. 
Throws:
org.openrdf.rio.RDFHandlerException

handleNamespace

public void handleNamespace(String prefix,
                            String name)
Deprecated. 
Specified by:
handleNamespace in interface org.openrdf.rio.RDFHandler
Overrides:
handleNamespace in class org.openrdf.rio.helpers.RDFWriterBase

handleStatement

public void handleStatement(org.openrdf.model.Statement st)
                     throws org.openrdf.rio.RDFHandlerException
Deprecated. 
Throws:
org.openrdf.rio.RDFHandlerException

handleComment

public void handleComment(String comment)
                   throws org.openrdf.rio.RDFHandlerException
Deprecated. 
Throws:
org.openrdf.rio.RDFHandlerException

Copyright © 2008-2016 Franz Inc.