public class LookupFile extends Object implements ILookupFile, Serializable
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
checkAromaticity |
protected File |
file |
protected ArrayList<String> |
fileCache |
protected FileInputStream |
fStream |
protected static Logger |
logger |
protected boolean |
useCache |
| Constructor and Description |
|---|
LookupFile(File file) |
LookupFile(String filename) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
find(org.openscience.cdk.interfaces.IAtomContainer mol) |
File |
getFile() |
boolean |
isCheckAromaticity() |
boolean |
isEnabled() |
boolean |
isUseCache() |
org.openscience.cdk.interfaces.IAtomContainer |
lookup(org.openscience.cdk.interfaces.IAtomContainer mol) |
void |
setCheckAromaticity(boolean checkAromaticity) |
void |
setFile(File file) |
void |
setUseCache(boolean useCache) |
int |
size() |
protected File file
protected boolean useCache
protected boolean checkAromaticity
protected transient FileInputStream fStream
protected static transient Logger logger
public LookupFile(String filename) throws IOException
IOExceptionpublic LookupFile(File file) throws IOException
IOExceptionpublic boolean find(org.openscience.cdk.interfaces.IAtomContainer mol)
throws DecisionMethodException
find in interface ILookupFileDecisionMethodExceptionpublic org.openscience.cdk.interfaces.IAtomContainer lookup(org.openscience.cdk.interfaces.IAtomContainer mol)
throws DecisionMethodException,
org.openscience.cdk.exception.CDKException
DecisionMethodExceptionorg.openscience.cdk.exception.CDKExceptionpublic File getFile()
getFile in interface ILookupFilepublic void setFile(File file)
setFile in interface ILookupFilepublic boolean isUseCache()
public void setUseCache(boolean useCache)
public boolean isCheckAromaticity()
public void setCheckAromaticity(boolean checkAromaticity)
public boolean isEnabled()
isEnabled in interface ILookupFilepublic int size()
size in interface ILookupFileCopyright © 2004–2018 Ideaconsult Ltd. All rights reserved.