org.openorb.pss.connector.file
public class FileIterator extends Object implements Iterator
Constructor Summary | |
---|---|
FileIterator(StorageHomeBase home, FileCatalog catalog)
Constructor |
Method Summary | |
---|---|
StorageObject | detach()
Returns the current element and detached it from the iterator. |
StorageObject | element()
Returns the current element.
|
void | fetch(byte[] pid)
Set the current element of the iterator by providing a PID |
boolean | hasMoreElements()
Returns true if there are some other elements |
void | next()
Shifts to the next element |
void | reset()
Resets the iterator to the first element |
void | set(int position)
Set the current position for the iterator |