com.application.areca.metadata
Class AbstractMetaDataFileIterator

java.lang.Object
  extended by com.application.areca.metadata.AbstractMetaDataFileIterator
Direct Known Subclasses:
ContentFileIterator, TraceFileIterator

public abstract class AbstractMetaDataFileIterator
extends java.lang.Object


Author:
Olivier PETRUCCI

Areca Build ID : 7299034069467778562

Constructor Summary
protected AbstractMetaDataFileIterator(java.io.BufferedReader reader, AbstractMetadataAdapter adapter)
           
 
Method Summary
 void close()
          Close the iterator
 AbstractMetaDataEntry currentEntry()
           
 boolean fetchUntil(java.lang.String key)
          Iterates until the key provided as argument is found or passed
 boolean hasNext()
           
 AbstractMetaDataEntry nextEntry()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractMetaDataFileIterator

protected AbstractMetaDataFileIterator(java.io.BufferedReader reader,
                                       AbstractMetadataAdapter adapter)
                                throws java.io.IOException
Throws:
java.io.IOException
Method Detail

close

public void close()
           throws java.io.IOException
Close the iterator

Throws:
java.io.IOException

hasNext

public boolean hasNext()

fetchUntil

public boolean fetchUntil(java.lang.String key)
                   throws java.io.IOException
Iterates until the key provided as argument is found or passed

Throws:
java.io.IOException

nextEntry

public AbstractMetaDataEntry nextEntry()
                                throws java.io.IOException
Throws:
java.io.IOException

currentEntry

public AbstractMetaDataEntry currentEntry()