chemaxon.marvin.util
Interface MDocumentImportIface

All Superinterfaces:
MolImportIface

public interface MDocumentImportIface
extends MolImportIface

Marvin document reader interface. Implemented by document import modules.

Since:
3.3, 10/27/2003
Version:
3.3, 12/15/2003
Author:
Peter Csizmadia

Method Summary
 MolInputStream getMolInputStream()
          Gets the molecule input stream.
 MDocument readDocument(MDocument doc)
          Reads the next document.
 
Methods inherited from interface chemaxon.marvin.util.MolImportIface
initMolImport, readMol, skipToNext
 

Method Detail

readDocument

public MDocument readDocument(MDocument doc)
                       throws java.io.IOException
Reads the next document.

Parameters:
doc - target document or null
Returns:
the target document object
Throws:
java.io.IOException - the file is in bad format or could not read

getMolInputStream

public MolInputStream getMolInputStream()
Gets the molecule input stream.

Returns:
the molecule input stream