org.gcube.application.speciesmanager.stubs.readers
Class RSReader<T>

java.lang.Object
  extended by org.gcube.application.speciesmanager.stubs.readers.RSReader<T>
All Implemented Interfaces:
Iterator<T>
Direct Known Subclasses:
OccurrencesReader, ResultItemReader, StringReader

public abstract class RSReader<T>
extends Object
implements Iterator<T>


Constructor Summary
RSReader(String locator)
           
 
Method Summary
 boolean hasNext()
           
 T next()
           
 void remove()
           
abstract  T transform(String serializedItem)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RSReader

public RSReader(String locator)
         throws Exception
Throws:
Exception
Method Detail

hasNext

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

next

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

transform

public abstract T transform(String serializedItem)
                     throws Exception
Throws:
Exception

remove

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


Copyright © 2012. All Rights Reserved.