net.fortytwo.sesametools.reposail
Class RepositoryResourceIteration

java.lang.Object
  extended by net.fortytwo.sesametools.reposail.RepositoryResourceIteration
All Implemented Interfaces:
info.aduna.iteration.CloseableIteration<org.openrdf.model.Resource,org.openrdf.sail.SailException>, info.aduna.iteration.Iteration<org.openrdf.model.Resource,org.openrdf.sail.SailException>

public class RepositoryResourceIteration
extends Object
implements info.aduna.iteration.CloseableIteration<org.openrdf.model.Resource,org.openrdf.sail.SailException>

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

Constructor Summary
RepositoryResourceIteration(info.aduna.iteration.CloseableIteration<? extends org.openrdf.model.Resource,org.openrdf.repository.RepositoryException> innerIter)
           
 
Method Summary
 void close()
           
 boolean hasNext()
           
 org.openrdf.model.Resource next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepositoryResourceIteration

public RepositoryResourceIteration(info.aduna.iteration.CloseableIteration<? extends org.openrdf.model.Resource,org.openrdf.repository.RepositoryException> innerIter)
Method Detail

close

public void close()
           throws org.openrdf.sail.SailException
Specified by:
close in interface info.aduna.iteration.CloseableIteration<org.openrdf.model.Resource,org.openrdf.sail.SailException>
Throws:
org.openrdf.sail.SailException

hasNext

public boolean hasNext()
                throws org.openrdf.sail.SailException
Specified by:
hasNext in interface info.aduna.iteration.Iteration<org.openrdf.model.Resource,org.openrdf.sail.SailException>
Throws:
org.openrdf.sail.SailException

next

public org.openrdf.model.Resource next()
                                throws org.openrdf.sail.SailException
Specified by:
next in interface info.aduna.iteration.Iteration<org.openrdf.model.Resource,org.openrdf.sail.SailException>
Throws:
org.openrdf.sail.SailException

remove

public void remove()
            throws org.openrdf.sail.SailException
Specified by:
remove in interface info.aduna.iteration.Iteration<org.openrdf.model.Resource,org.openrdf.sail.SailException>
Throws:
org.openrdf.sail.SailException


Copyright © 2014. All Rights Reserved.