public class SDFReporter<Q extends net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>> extends QueryStructureReporter<Q,Writer>
Modifier and Type | Field and Description |
---|---|
protected boolean |
changeLineSeparators |
protected boolean |
first |
protected Profile |
groupProperties |
protected boolean |
MOLONLY |
protected MoleculeReader |
reader |
protected Template |
template |
Constructor and Description |
---|
SDFReporter() |
SDFReporter(Template template,
Profile groupedProperties,
boolean changeLineSeparator) |
SDFReporter(Template template,
Profile groupedProperties,
boolean molOnly,
boolean changeLineSeparator) |
Modifier and Type | Method and Description |
---|---|
void |
footer(Writer output,
Q query) |
String |
getFileExtension() |
Profile |
getGroupProperties() |
protected String |
getSDFContent(IStructureRecord item) |
Template |
getTemplate() |
void |
header(Writer output,
Q query) |
boolean |
isChangeLineSeparators() |
boolean |
isMOLONLY() |
void |
open() |
Object |
processItem(IStructureRecord item) |
void |
setChangeLineSeparators(boolean changeLineSeparators) |
void |
setGroupProperties(Profile gp) |
void |
setMOLONLY(boolean molonly) |
void |
setTemplate(Template template) |
createBatch, isIncludeLicenseInTextFiles
getLicenseURI, getMaxRecords, getOutput, getProcessors, getStartTime, getTimeout, isAutoCommit, isShowFooter, isShowHeader, process, setAutoCommit, setCloseConnection, setLicenseURI, setMaxRecords, setOutput, setProcessors, setShowFooter, setShowHeader, setStartTime, setTimeout, wrapup
close, getConnection, isCloseConnection, isEnabled, setConnection
addPropertyChangeListener, addPropertyChangeListener, getID, removePropertyChangeListener, removePropertyChangeListener, setEnabled, toString
protected Template template
protected boolean MOLONLY
protected MoleculeReader reader
protected boolean first
protected boolean changeLineSeparators
protected Profile groupProperties
public SDFReporter()
public SDFReporter(Template template, Profile groupedProperties, boolean changeLineSeparator)
public boolean isChangeLineSeparators()
public void setChangeLineSeparators(boolean changeLineSeparators)
public Profile getGroupProperties()
public void setGroupProperties(Profile gp)
public boolean isMOLONLY()
public void setMOLONLY(boolean molonly)
public Template getTemplate()
public void setTemplate(Template template)
public Object processItem(IStructureRecord item) throws net.idea.modbcum.i.exceptions.AmbitException
processItem
in class net.idea.modbcum.r.QueryAbstractReporter<IStructureRecord,Q extends net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>,Writer>
net.idea.modbcum.i.exceptions.AmbitException
protected String getSDFContent(IStructureRecord item) throws net.idea.modbcum.i.exceptions.AmbitException
net.idea.modbcum.i.exceptions.AmbitException
public void open() throws net.idea.modbcum.i.exceptions.DbAmbitException
open
in interface net.idea.modbcum.i.processors.IProcessor<Q extends net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>,Writer>
open
in class net.idea.modbcum.p.DefaultAmbitProcessor<Q extends net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>,Writer>
net.idea.modbcum.i.exceptions.DbAmbitException
public void footer(Writer output, Q query)
footer
in class net.idea.modbcum.r.QueryAbstractReporter<IStructureRecord,Q extends net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>,Writer>
public void header(Writer output, Q query)
header
in class net.idea.modbcum.r.QueryAbstractReporter<IStructureRecord,Q extends net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>,Writer>
public String getFileExtension()
getFileExtension
in interface net.idea.modbcum.i.reporter.Reporter<Q extends net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>,Writer>
getFileExtension
in class net.idea.modbcum.r.QueryAbstractReporter<IStructureRecord,Q extends net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>,Writer>
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.