public class InChILookupFile extends Object implements ILookupFile
| Modifier and Type | Field and Description |
|---|---|
protected File |
file |
protected ambit2.core.processors.structure.InchiProcessor |
inchiProcessor |
protected List<String> |
inchis |
| Constructor and Description |
|---|
InChILookupFile(File file) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
find(org.openscience.cdk.interfaces.IAtomContainer mol) |
File |
getFile() |
boolean |
isEnabled() |
void |
readFile() |
void |
readFileInchi() |
static List<String> |
readFileSDF(File file,
ambit2.core.processors.structure.InchiProcessor inchiProcessor) |
void |
setFile(File file) |
int |
size() |
String |
toString() |
protected File file
protected ambit2.core.processors.structure.InchiProcessor inchiProcessor
public InChILookupFile(File file) throws IOException, org.openscience.cdk.exception.CDKException
IOExceptionorg.openscience.cdk.exception.CDKExceptionpublic boolean find(org.openscience.cdk.interfaces.IAtomContainer mol)
throws DecisionMethodException
find in interface ILookupFileDecisionMethodExceptionpublic static List<String> readFileSDF(File file, ambit2.core.processors.structure.InchiProcessor inchiProcessor) throws Exception
Exceptionpublic boolean isEnabled()
isEnabled in interface ILookupFilepublic File getFile()
getFile in interface ILookupFilepublic void setFile(File file) throws IOException
setFile in interface ILookupFileIOExceptionpublic int size()
size in interface ILookupFileCopyright © 2004–2018 Ideaconsult Ltd. All rights reserved.