chemaxon.metabolizer
Interface MetabolizerImporter

All Known Implementing Classes:
MetabolizerFileImporter, MetabolizerMemoryImporter

public interface MetabolizerImporter

Classes implements this interface are responsible for importing metabolizer substrates

Author:
Attila Szabo

Method Summary
 void close()
          Closes importer.
 long getMoleculeCount()
          Returns the count of substrates
 boolean hasNext()
          Returns true if iteration has more substrate
 Molecule next()
          Retunrs following substrate in the iteration
 

Method Detail

next

Molecule next()
              throws MetabolizerIOException
Retunrs following substrate in the iteration

Returns:
following substrate
Throws:
MetabolizerIOException

getMoleculeCount

long getMoleculeCount()
                      throws MetabolizerIOException
Returns the count of substrates

Returns:
the count of substrates
Throws:
MetabolizerIOException

hasNext

boolean hasNext()
                throws MetabolizerIOException
Returns true if iteration has more substrate

Returns:
true if iteration has more substrate
Throws:
MetabolizerIOException

close

void close()
           throws MetabolizerIOException
Closes importer. Releases resources.

Throws:
MetabolizerIOException