public class MultiFingerprintsWriter
extends org.openscience.cdk.io.DefaultChemObjectWriter
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.commons.csv.CSVFormat |
CSVFORMAT_SPACE |
protected String |
id |
protected File |
prefix |
protected Object[] |
tags |
protected String[] |
tags_to_keep |
| Constructor and Description |
|---|
MultiFingerprintsWriter(File prefix,
List<org.openscience.cdk.fingerprint.IFingerprinter> fps,
String[] tags_to_keep) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accepts(Class<? extends org.openscience.cdk.interfaces.IChemObject> classObject) |
void |
close() |
org.openscience.cdk.io.formats.IResourceFormat |
getFormat() |
protected org.apache.commons.csv.CSVPrinter |
getWriter(String property) |
protected Object[] |
mol2record(Object[] tags,
String propertyname,
Object propertyvalue) |
void |
setWriter(OutputStream writer) |
void |
setWriter(Writer writer) |
void |
write(org.openscience.cdk.interfaces.IChemObject mol) |
addChemObjectIOListener, addSetting, addSettings, fireIOSettingQuestion, getIOSettings, getListeners, getSetting, getSetting, getSettings, hasSetting, removeChemObjectIOListenerprotected String id
protected File prefix
protected org.apache.commons.csv.CSVFormat CSVFORMAT_SPACE
protected String[] tags_to_keep
protected Object[] tags
protected org.apache.commons.csv.CSVPrinter getWriter(String property)
public void write(org.openscience.cdk.interfaces.IChemObject mol)
throws org.openscience.cdk.exception.CDKException
org.openscience.cdk.exception.CDKExceptionpublic void setWriter(Writer writer) throws org.openscience.cdk.exception.CDKException
org.openscience.cdk.exception.CDKExceptionpublic void setWriter(OutputStream writer) throws org.openscience.cdk.exception.CDKException
org.openscience.cdk.exception.CDKExceptionpublic org.openscience.cdk.io.formats.IResourceFormat getFormat()
public boolean accepts(Class<? extends org.openscience.cdk.interfaces.IChemObject> classObject)
public void close()
throws IOException
IOExceptionCopyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.