public class RGroupQueryReader extends DefaultChemObjectReader
The RGFile format is described in the manual "CTFile Formats" , Chapter 5.
IChemObjectReader.ModeerrorHandler, mode| Constructor and Description |
|---|
RGroupQueryReader()
Default constructor, input not set.
|
RGroupQueryReader(InputStream in)
Constructs a new RgroupQueryReader that can read RgroupAtomContainerSet
from a given InputStream.
|
RGroupQueryReader(Reader in)
Constructs a new RgroupQueryReader that can read RgroupAtomContainerSet
from a given Reader.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
accepts(Class<? extends IChemObject> classObject) |
void |
close() |
IResourceFormat |
getFormat() |
<T extends IChemObject> |
read(T object)
Check input IChemObject and proceed to parse.
|
void |
setReader(InputStream input) |
void |
setReader(Reader input)
Sets the input Reader.
|
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 RGroupQueryReader()
public RGroupQueryReader(InputStream in)
in - The InputStream to read from.public RGroupQueryReader(Reader in)
in - The Reader to read from.public void setReader(Reader input) throws CDKException
input - Reader objectCDKExceptionpublic void setReader(InputStream input) throws CDKException
CDKExceptionpublic IResourceFormat getFormat()
public boolean accepts(Class<? extends IChemObject> classObject)
public void close()
throws IOException
IOExceptionpublic <T extends IChemObject> T read(T object) throws CDKException
object - class must be of type RGroupQueryCDKExceptionCopyright © 2017. All rights reserved.