net.fortytwo.flow.rdf
Class RDFCollector

java.lang.Object
  extended by net.fortytwo.flow.rdf.RDFSource
      extended by net.fortytwo.flow.rdf.RDFCollector
All Implemented Interfaces:
RDFSink
Direct Known Subclasses:
RDFBuffer

public class RDFCollector
extends RDFSource
implements RDFSink

Author:
Joshua Shinavier (http://fortytwo.net)

Constructor Summary
RDFCollector()
           
 
Method Summary
 void clear()
           
 Sink<String> commentSink()
           
 Source<String> commentSource()
           
 int countComments()
           
 int countNamespaces()
           
 int countStatements()
           
 Sink<org.openrdf.model.Namespace> namespaceSink()
           
 Source<org.openrdf.model.Namespace> namespaceSource()
           
 Sink<org.openrdf.model.Statement> statementSink()
           
 Source<org.openrdf.model.Statement> statementSource()
           
 
Methods inherited from class net.fortytwo.flow.rdf.RDFSource
writeTo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RDFCollector

public RDFCollector()
Method Detail

statementSink

public Sink<org.openrdf.model.Statement> statementSink()
Specified by:
statementSink in interface RDFSink

namespaceSink

public Sink<org.openrdf.model.Namespace> namespaceSink()
Specified by:
namespaceSink in interface RDFSink

commentSink

public Sink<String> commentSink()
Specified by:
commentSink in interface RDFSink

statementSource

public Source<org.openrdf.model.Statement> statementSource()
Specified by:
statementSource in class RDFSource

namespaceSource

public Source<org.openrdf.model.Namespace> namespaceSource()
Specified by:
namespaceSource in class RDFSource

commentSource

public Source<String> commentSource()
Specified by:
commentSource in class RDFSource

clear

public void clear()

countStatements

public int countStatements()

countNamespaces

public int countNamespaces()

countComments

public int countComments()


Copyright © 2007-2014. All Rights Reserved.