public class MDLV3000Reader extends DefaultChemObjectReader
IChemObjectReader.ModeerrorHandler, mode| Constructor and Description |
|---|
MDLV3000Reader() |
MDLV3000Reader(InputStream input) |
MDLV3000Reader(InputStream input,
IChemObjectReader.Mode mode) |
MDLV3000Reader(Reader in) |
MDLV3000Reader(Reader in,
IChemObjectReader.Mode mode) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accepts(Class<? extends IChemObject> classObject) |
void |
close() |
String |
exhaustStringTokenizer(StringTokenizer tokenizer) |
IResourceFormat |
getFormat() |
boolean |
isReady() |
<T extends IChemObject> |
read(T object) |
void |
readAtomBlock(IAtomContainer readData)
Reads the atoms, coordinates and charges.
|
void |
readBondBlock(IAtomContainer readData)
Reads the bond atoms, order and stereo configuration.
|
IAtomContainer |
readConnectionTable(IChemObjectBuilder builder) |
String |
readHeader(IAtomContainer readData) |
String |
readLine() |
IAtomContainer |
readMolecule(IChemObjectBuilder builder) |
void |
readSGroup(IAtomContainer readData)
Reads labels.
|
void |
setReader(InputStream input) |
void |
setReader(Reader input) |
fireFrameRead, 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, removeChemObjectIOListenerpublic MDLV3000Reader(Reader in)
public MDLV3000Reader(Reader in, IChemObjectReader.Mode mode)
public MDLV3000Reader(InputStream input)
public MDLV3000Reader(InputStream input, IChemObjectReader.Mode mode)
public MDLV3000Reader()
public IResourceFormat getFormat()
public void setReader(Reader input) throws CDKException
CDKExceptionpublic void setReader(InputStream input) throws CDKException
CDKExceptionpublic boolean accepts(Class<? extends IChemObject> classObject)
public <T extends IChemObject> T read(T object) throws CDKException
CDKExceptionpublic IAtomContainer readMolecule(IChemObjectBuilder builder) throws CDKException
CDKExceptionpublic IAtomContainer readConnectionTable(IChemObjectBuilder builder) throws CDKException
CDKExceptionpublic String readHeader(IAtomContainer readData) throws CDKException
CDKException - when no file content is detectedpublic void readAtomBlock(IAtomContainer readData) throws CDKException
IMPORTANT: it does not support the atom list and its negation!
CDKExceptionpublic void readBondBlock(IAtomContainer readData) throws CDKException
CDKExceptionpublic void readSGroup(IAtomContainer readData) throws CDKException
CDKExceptionpublic String exhaustStringTokenizer(StringTokenizer tokenizer)
public String readLine() throws CDKException
CDKExceptionpublic boolean isReady()
throws CDKException
CDKExceptionpublic void close()
throws IOException
IOExceptionCopyright © 2017. All rights reserved.