public class CSVReporter<Q extends net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>> extends QueryHeaderReporter<Q,Writer>
Modifier and Type | Field and Description |
---|---|
protected SubstanceEndpointsBundle[] |
bundles |
protected String[] |
folders |
protected String |
licenseColumn |
protected String |
lineseparator |
protected int |
numberofHeaderLines |
protected String |
separator |
protected Property |
similarityColumn |
protected String |
urlPrefix |
protected boolean |
writeCompoundURI |
groupProperties, header, includeMol, template
Constructor and Description |
---|
CSVReporter() |
CSVReporter(String baseRef,
Template template) |
CSVReporter(String baseRef,
Template template,
Profile groupedProperties,
String urlPrefix) |
CSVReporter(String baseRef,
Template template,
Profile groupedProperties,
String[] folders,
SubstanceEndpointsBundle[] bundles,
String urlPrefix,
boolean includeMol) |
configureProcessors, getGroupProperties, getHeader, getTemplate, isIncludeMol, setGroupProperties, setTemplate
createBatch, isIncludeLicenseInTextFiles
getLicenseURI, getMaxRecords, getOutput, getProcessors, getStartTime, getTimeout, isAutoCommit, isShowFooter, isShowHeader, process, setAutoCommit, setCloseConnection, setMaxRecords, setOutput, setProcessors, setShowFooter, setShowHeader, setStartTime, setTimeout, wrapup
close, getConnection, isCloseConnection, isEnabled, setConnection
addPropertyChangeListener, addPropertyChangeListener, getID, removePropertyChangeListener, removePropertyChangeListener, setEnabled, toString
protected int numberofHeaderLines
protected boolean writeCompoundURI
protected Property similarityColumn
protected String licenseColumn
protected String[] folders
protected SubstanceEndpointsBundle[] bundles
protected String urlPrefix
protected String separator
protected String lineseparator
public CSVReporter()
public CSVReporter(String baseRef, Template template, Profile groupedProperties, String urlPrefix)
public SubstanceEndpointsBundle[] getBundles()
public void setBundles(SubstanceEndpointsBundle[] bundles)
public String[] getFolders()
public void setFolders(String[] folders)
public Property getSimilarityColumn()
public void setSimilarityColumn(Property similarityColumn)
public boolean isWriteCompoundURI()
public void setWriteCompoundURI(boolean writeCompoundURI)
public int getNumberofHeaderLines()
public void setNumberofHeaderLines(int numberofHeaderLines)
public String getSeparator()
public void setSeparator(String separator)
public String getUrlPrefix()
public void setUrlPrefix(String urlPrefix)
protected void configureCollectionProcessors(String baseURI)
public void setLicenseURI(String licenseURI)
setLicenseURI
in interface net.idea.modbcum.i.reporter.Reporter<Q extends net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>,Writer>
setLicenseURI
in class net.idea.modbcum.r.QueryAbstractReporter<IStructureRecord,Q extends net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>,Writer>
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>
protected List<Property> template2Header(Template template, boolean propertiesOnly)
template2Header
in class QueryHeaderReporter<Q extends net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>,Writer>
protected void writeHeader(Writer writer) throws IOException
IOException
public void header(Writer writer, Q query)
header
in class net.idea.modbcum.r.QueryAbstractReporter<IStructureRecord,Q extends net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>,Writer>
protected String getURI(IStructureRecord item)
public Object processItem(IStructureRecord item) throws Exception
processItem
in class net.idea.modbcum.r.QueryAbstractReporter<IStructureRecord,Q extends net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>,Writer>
Exception
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 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>
protected void configurePropertyProcessors()
configurePropertyProcessors
in class QueryHeaderReporter<Q extends net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>,Writer>
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.