public class RawIteratingFolderReader extends IteratingFolderReader<IStructureRecord,IRawReader<IStructureRecord>> implements IRawReader<IStructureRecord>
Modifier and Type | Class and Description |
---|---|
protected static class |
RawIteratingFolderReader.FileNameMode |
Modifier and Type | Field and Description |
---|---|
protected Property |
casProperty |
protected CASProcessor |
casTransformer |
protected Property |
einecsProperty |
protected RawIteratingFolderReader.FileNameMode |
mode |
protected Property |
nameProperty |
files, index, logger, reader
Constructor and Description |
---|
RawIteratingFolderReader(File[] files) |
Modifier and Type | Method and Description |
---|---|
protected void |
assignCASRN(IStructureRecord record) |
protected void |
assignEINECS(IStructureRecord record) |
protected void |
assignName(IStructureRecord record) |
protected IRawReader<IStructureRecord> |
getItemReader(int index) |
RawIteratingFolderReader.FileNameMode |
getMode() |
Object |
next() |
IStructureRecord |
nextRecord() |
void |
setFiles(File[] files) |
void |
setMode(RawIteratingFolderReader.FileNameMode mode) |
close, closeItemReader, getFiles, getFormat, getNextReader, hasNext, setReader, setReader, toString
accepts, handleError, handleError, handleError, handleError, remove, setErrorHandler, setReaderMode
addChemObjectIOListener, addSetting, addSettings, fireIOSettingQuestion, getIOSettings, getListeners, getSetting, getSetting, getSettings, hasSetting, removeChemObjectIOListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
handleError, handleError, handleError, handleError, setErrorHandler, setReader, setReader, setReaderMode
accepts, addChemObjectIOListener, addSetting, addSettings, close, getFormat, getIOSettings, getListeners, getSetting, getSetting, getSettings, hasSetting, removeChemObjectIOListener
forEachRemaining, hasNext, remove
protected RawIteratingFolderReader.FileNameMode mode
protected CASProcessor casTransformer
protected Property einecsProperty
protected Property casProperty
protected Property nameProperty
public RawIteratingFolderReader(File[] files)
public RawIteratingFolderReader.FileNameMode getMode()
public void setMode(RawIteratingFolderReader.FileNameMode mode)
public void setFiles(File[] files)
setFiles
in class IteratingFolderReader<IStructureRecord,IRawReader<IStructureRecord>>
public Object next()
next
in interface Iterator
next
in class IteratingFolderReader<IStructureRecord,IRawReader<IStructureRecord>>
public IStructureRecord nextRecord()
nextRecord
in interface IRawReader<IStructureRecord>
protected void assignCASRN(IStructureRecord record)
protected void assignEINECS(IStructureRecord record)
protected void assignName(IStructureRecord record)
protected IRawReader<IStructureRecord> getItemReader(int index) throws Exception
getItemReader
in class IteratingFolderReader<IStructureRecord,IRawReader<IStructureRecord>>
Exception
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.