|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openscience.cdk.io.ChemObjectIO
org.openscience.cdk.io.DefaultChemObjectWriter
org.openscience.cdk.io.RGroupQueryWriter
public class RGroupQueryWriter
A writer for Symyx' Rgroup files (RGFiles).
An RGfile describes a single molecular query with Rgroups.
Each RGfile is a combination of Ctabs defining the root molecule and each
member of each Rgroup in the query.
This class relies on the MDLV2000Writer to
create CTAB data blocks.
| Constructor Summary | |
|---|---|
RGroupQueryWriter()
Zero argument constructor. |
|
RGroupQueryWriter(Writer out)
Constructs a new writer that can write an IRGroupQuery
to the Symx RGFile format. |
|
| Method Summary | |
|---|---|
boolean |
accepts(Class classObject)
Returns true for accepted input types. |
void |
close()
Flushes the output and closes this object. |
IResourceFormat |
getFormat()
Returns output format. |
void |
setWriter(OutputStream output)
Sets the writer to given output stream. |
void |
setWriter(Writer out)
Sets the writer. |
void |
write(IChemObject object)
The actual writing of the output. |
| Methods inherited from class org.openscience.cdk.io.ChemObjectIO |
|---|
addChemObjectIOListener, addSetting, addSettings, getIOSettings, getListeners, getSetting, getSetting, getSettings, hasSetting, removeChemObjectIOListener |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.openscience.cdk.io.IChemObjectIO |
|---|
addChemObjectIOListener, addSetting, addSettings, getIOSettings, getListeners, getSetting, getSetting, getSettings, hasSetting, removeChemObjectIOListener |
| Constructor Detail |
|---|
public RGroupQueryWriter(Writer out)
IRGroupQuery
to the Symx RGFile format.
out - The Writer to write topublic RGroupQueryWriter()
| Method Detail |
|---|
@TestMethod(value="testAccepts") public boolean accepts(Class classObject)
classObject - IChemObject of which is tested if it can be handled.
IChemObject can be handled.
@TestMethod(value="testClose")
public void close()
throws IOException
IOException@TestMethod(value="testGetFormat") public IResourceFormat getFormat()
public void setWriter(OutputStream output)
throws CDKException
CDKException
public void setWriter(Writer out)
throws CDKException
CDKException
public void write(IChemObject object)
throws CDKException
object - the object of which the content is outputed
CDKException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||