org.duracloud.client
Class ContentIterator

java.lang.Object
  extended by org.duracloud.client.ContentIterator
All Implemented Interfaces:
Iterator<String>

public class ContentIterator
extends Object
implements Iterator<String>


Constructor Summary
ContentIterator(ContentStore store, String spaceId, String prefix)
           
ContentIterator(ContentStore store, String spaceId, String prefix, long maxResults)
           
 
Method Summary
 boolean hasNext()
           
 String next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentIterator

public ContentIterator(ContentStore store,
                       String spaceId,
                       String prefix)
                throws ContentStoreException
Throws:
ContentStoreException

ContentIterator

public ContentIterator(ContentStore store,
                       String spaceId,
                       String prefix,
                       long maxResults)
                throws ContentStoreException
Throws:
ContentStoreException
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator<String>

next

public String next()
Specified by:
next in interface Iterator<String>

remove

public void remove()
Specified by:
remove in interface Iterator<String>


Copyright © 2009-2012 DuraSpace. All Rights Reserved.