public class DelimitedFileReader
extends org.openscience.cdk.io.DefaultChemObjectReader
implements org.openscience.cdk.io.IChemObjectReader
Modifier and Type | Field and Description |
---|---|
protected DelimitedFileFormat |
format |
Constructor and Description |
---|
DelimitedFileReader(InputStream input) |
DelimitedFileReader(InputStream input,
DelimitedFileFormat format) |
DelimitedFileReader(Reader input) |
DelimitedFileReader(Reader input,
DelimitedFileFormat format)
Default delimited file format - CSV
|
Modifier and Type | Method and Description |
---|---|
boolean |
accepts(Class classObject) |
void |
close() |
org.openscience.cdk.io.formats.IResourceFormat |
getFormat() |
org.openscience.cdk.io.setting.IOSetting[] |
getIOSettings() |
org.openscience.cdk.interfaces.IChemObject |
read(org.openscience.cdk.interfaces.IChemObject object) |
void |
setReader(InputStream reader) |
void |
setReader(Reader reader) |
String |
toString() |
fireFrameRead, handleError, handleError, handleError, handleError, setErrorHandler, setReaderMode
addChemObjectIOListener, addSetting, addSettings, fireIOSettingQuestion, getListeners, getSetting, getSetting, getSettings, hasSetting, removeChemObjectIOListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
protected DelimitedFileFormat format
public DelimitedFileReader(Reader input, DelimitedFileFormat format)
public DelimitedFileReader(Reader input)
public DelimitedFileReader(InputStream input, DelimitedFileFormat format)
public DelimitedFileReader(InputStream input)
public org.openscience.cdk.interfaces.IChemObject read(org.openscience.cdk.interfaces.IChemObject object) throws org.openscience.cdk.exception.CDKException
read
in interface org.openscience.cdk.io.ISimpleChemObjectReader
org.openscience.cdk.exception.CDKException
public void setReader(Reader reader) throws org.openscience.cdk.exception.CDKException
setReader
in interface org.openscience.cdk.io.IChemObjectReader
org.openscience.cdk.exception.CDKException
public void setReader(InputStream reader) throws org.openscience.cdk.exception.CDKException
setReader
in interface org.openscience.cdk.io.IChemObjectReader
org.openscience.cdk.exception.CDKException
public org.openscience.cdk.io.formats.IResourceFormat getFormat()
getFormat
in interface org.openscience.cdk.io.IChemObjectIO
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in interface org.openscience.cdk.io.IChemObjectIO
IOException
public org.openscience.cdk.io.setting.IOSetting[] getIOSettings()
getIOSettings
in interface org.openscience.cdk.io.IChemObjectIO
getIOSettings
in class org.openscience.cdk.io.ChemObjectIO
public boolean accepts(Class classObject)
accepts
in interface org.openscience.cdk.io.IChemObjectIO
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.