toxTree.tree.rules
Class LookupFile
java.lang.Object
toxTree.tree.rules.LookupFile
- All Implemented Interfaces:
- java.io.Serializable, ILookupFile
public class LookupFile
- extends java.lang.Object
- implements ILookupFile, java.io.Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
file
protected java.io.File file
fileCache
protected transient java.util.ArrayList<java.lang.String> fileCache
useCache
protected boolean useCache
checkAromaticity
protected boolean checkAromaticity
fStream
protected transient java.io.FileInputStream fStream
logger
protected transient TTLogger logger
LookupFile
public LookupFile(java.lang.String filename)
throws java.io.IOException
- Throws:
java.io.IOException
LookupFile
public LookupFile(java.io.File file)
throws java.io.IOException
- Throws:
java.io.IOException
find
public boolean find(org.openscience.cdk.interfaces.IAtomContainer mol)
throws DecisionMethodException
- Specified by:
find
in interface ILookupFile
- Throws:
DecisionMethodException
lookup
public org.openscience.cdk.interfaces.IAtomContainer lookup(org.openscience.cdk.interfaces.IAtomContainer mol)
throws DecisionMethodException,
org.openscience.cdk.exception.CDKException
- Throws:
DecisionMethodException
org.openscience.cdk.exception.CDKException
getFile
public java.io.File getFile()
- Specified by:
getFile
in interface ILookupFile
setFile
public void setFile(java.io.File file)
- Specified by:
setFile
in interface ILookupFile
isUseCache
public boolean isUseCache()
setUseCache
public void setUseCache(boolean useCache)
getLogger
public TTLogger getLogger()
setLogger
public void setLogger(TTLogger logger)
isCheckAromaticity
public boolean isCheckAromaticity()
setCheckAromaticity
public void setCheckAromaticity(boolean checkAromaticity)
isEnabled
public boolean isEnabled()
- Specified by:
isEnabled
in interface ILookupFile
size
public int size()
- Specified by:
size
in interface ILookupFile
Copyright © 2004-2012 Ideaconsult Ltd.. All Rights Reserved.