public abstract class FilesWithHeaderWriter
extends org.openscience.cdk.io.DefaultChemObjectWriter
Modifier and Type | Field and Description |
---|---|
protected boolean |
addSMILEScolumn |
static String |
defaultSMILESHeader |
protected ArrayList |
header |
protected static Logger |
logger |
protected int |
smilesIndex |
protected boolean |
writingStarted |
Constructor and Description |
---|
FilesWithHeaderWriter() |
Modifier and Type | Method and Description |
---|---|
ArrayList |
getHeader() |
boolean |
isAddSMILEScolumn() |
void |
setAddSMILEScolumn(boolean addSMILEScolumn) |
void |
setHeader(ArrayList header) |
void |
setHeader(Map properties)
Creates header from Hashtable keys Used for default header - created from
properties of the first molecule written
|
protected abstract void |
writeHeader() |
addChemObjectIOListener, addSetting, addSettings, fireIOSettingQuestion, getIOSettings, getListeners, getSetting, getSetting, getSettings, hasSetting, removeChemObjectIOListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
protected static Logger logger
public static String defaultSMILESHeader
protected ArrayList header
protected boolean writingStarted
protected int smilesIndex
protected boolean addSMILEScolumn
public boolean isAddSMILEScolumn()
public void setAddSMILEScolumn(boolean addSMILEScolumn)
public ArrayList getHeader()
public void setHeader(Map properties)
properties
- protected abstract void writeHeader() throws IOException
IOException
public void setHeader(ArrayList header)
header
- The header to set.Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.