public class SmilesReporter<Q extends net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>> extends QueryStructureReporter<Q,Writer>
Modifier and Type | Class and Description |
---|---|
static class |
SmilesReporter.Mode |
Modifier and Type | Field and Description |
---|---|
protected Profile |
groupProperties |
protected Property |
key |
protected SmilesReporter.Mode |
mode |
protected Template |
template |
protected boolean |
writeProperties |
Constructor and Description |
---|
SmilesReporter() |
SmilesReporter(boolean writeProperties,
SmilesReporter.Mode mode,
Template template) |
SmilesReporter(boolean writeProperties,
Template template) |
Modifier and Type | Method and Description |
---|---|
void |
footer(Writer output,
Q query) |
String |
getFileExtension() |
Profile |
getGroupProperties() |
SmilesReporter.Mode |
getMode() |
Template |
getTemplate() |
void |
header(Writer output,
Q query) |
void |
open() |
Object |
processItem(IStructureRecord item) |
void |
setGroupProperties(Profile gp) |
void |
setMode(SmilesReporter.Mode mode) |
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 writeProperties
protected Profile groupProperties
protected Property key
protected SmilesReporter.Mode mode
public SmilesReporter()
public SmilesReporter(boolean writeProperties, Template template)
public SmilesReporter(boolean writeProperties, SmilesReporter.Mode mode, Template template)
public Profile getGroupProperties()
public void setGroupProperties(Profile gp)
public SmilesReporter.Mode getMode()
public void setMode(SmilesReporter.Mode mode)
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
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 Template getTemplate()
public void setTemplate(Template template)
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.