public class IteratingPCCompoundXMLReader extends DefaultIteratingChemObjectReader<IAtomContainer>
PCCompoundASNReaderIChemObjectReader.ModeerrorHandler, mode| Constructor and Description |
|---|
IteratingPCCompoundXMLReader(InputStream in,
IChemObjectBuilder builder)
Constructs a new IteratingPCCompoundXLReader that can read Molecule from a given InputStream and IChemObjectBuilder.
|
IteratingPCCompoundXMLReader(Reader in,
IChemObjectBuilder builder)
Constructs a new IteratingPCCompoundXMLReader that can read Molecule from a given Reader and IChemObjectBuilder.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
IResourceFormat |
getFormat() |
boolean |
hasNext() |
IAtomContainer |
next() |
void |
remove() |
void |
setReader(InputStream reader) |
void |
setReader(Reader reader) |
accepts, handleError, handleError, handleError, handleError, setErrorHandler, setReaderModeaddChemObjectIOListener, addSetting, addSettings, fireIOSettingQuestion, getIOSettings, getListeners, getSetting, getSetting, getSettings, hasSetting, removeChemObjectIOListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddChemObjectIOListener, addSetting, addSettings, getIOSettings, getListeners, getSetting, getSetting, getSettings, hasSetting, removeChemObjectIOListenerforEachRemainingpublic IteratingPCCompoundXMLReader(Reader in, IChemObjectBuilder builder) throws IOException, XMLStreamException
in - The input streambuilder - The builderXMLStreamException - if there is an error in setting up the XML parserIOExceptionpublic IteratingPCCompoundXMLReader(InputStream in, IChemObjectBuilder builder) throws Exception
in - The input streambuilder - The builder. In general, use DefaultChemObjectBuilderException - if there is a problem creating an InputStreamReaderpublic IResourceFormat getFormat()
public boolean hasNext()
public IAtomContainer next()
public void close()
throws IOException
IOExceptionpublic void remove()
remove in interface Iterator<IAtomContainer>remove in class DefaultIteratingChemObjectReader<IAtomContainer>public void setReader(Reader reader) throws CDKException
CDKExceptionpublic void setReader(InputStream reader) throws CDKException
CDKExceptionCopyright © 2017. All rights reserved.