From: Egon W. <eg...@us...> - 2004-06-03 14:27:26
|
Update of /cvsroot/cdk/cdk/src/org/openscience/cdk/config In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13038/src/org/openscience/cdk/config Modified Files: AtomTypeFactory.java Log Message: Tweaks to match recent AtomTypeFactory move to config/data Index: AtomTypeFactory.java =================================================================== RCS file: /cvsroot/cdk/cdk/src/org/openscience/cdk/config/AtomTypeFactory.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- AtomTypeFactory.java 2 Jun 2004 13:02:31 -0000 1.2 +++ AtomTypeFactory.java 3 Jun 2004 14:27:18 -0000 1.3 @@ -85,7 +85,7 @@ */ public static String ATOMTYPE_ID_JMOL = "jmol"; - private static org.openscience.cdk.tools.LoggingTool logger; + private static LoggingTool logger; private static Hashtable tables = null; @@ -133,7 +133,6 @@ /** * Method to create a default AtomTypeFactory, using the structgen atom type list. - * An AtomType of this kind is not cached. * * @see #getInstance(String) */ @@ -142,11 +141,12 @@ } /** - * Method to create a default AtomTypeFactory. Available configFiles in CDK are: + * Method to create a specialized AtomTypeFactory. Available lists in CDK are: * <ul> - * <li>org/openscience/cdk/config/structgen_atomtypes.xml - * <li>org/openscience/cdk/config/jmol_atomtypes.txt - * <li>org/openscience/cdk/config/mol2_atomtypes.txt + * <li>org/openscience/cdk/config/data/jmol_atomtypes.txt + * <li>org/openscience/cdk/config/data/mol2_atomtypes.xml + * <li>org/openscience/cdk/config/data/structgen_atomtypes.xml + * <li>org/openscience/cdk/config/data/valency_atomtypes.xml * </ul> */ public static AtomTypeFactory getInstance(String configFile) throws IOException, OptionalDataException, ClassNotFoundException { @@ -160,9 +160,9 @@ } /** - * Read the config from a text file + * Read the config from a text file. * - *@param configFile name of the config file + * @param configFile name of the config file */ private void readConfiguration(String configFile) { @@ -247,9 +247,9 @@ /** - * Gets the size attribute of the AtomTypeFactory object + * Returns the number of atom types in this list. * - *@return The size value + * @return The number of atom types */ public int getSize() { @@ -258,11 +258,11 @@ /** - * Get an AtomTyp + * Get an AtomType with the given ID. * - *@param id an ID for a particular atom type (like C$) - *@return The AtomType for this id - *@exception NoSuchAtomTypeException Thrown if the atom type does not exist. + * @param id an ID for a particular atom type (like C$) + * @return The AtomType for this id + * @exception NoSuchAtomTypeException Thrown if the atom type does not exist. */ public AtomType getAtomType(String id) throws NoSuchAtomTypeException { @@ -280,12 +280,12 @@ /** - * Get an array of all atomTypes known to the AtomTypeFactory for the given - * element symbol and atomtype class + * Get an array of all atomTypes known to the AtomTypeFactory for the given + * element symbol and atomtype class. * - *@param symbol An element symbol to search for - *@return An array of atomtypes that matches the given element symbol - * and atomtype class + * @param symbol An element symbol to search for + * @return An array of atomtypes that matches the given element symbol + * and atomtype class */ public AtomType[] getAtomTypes(String symbol) { @@ -311,9 +311,9 @@ /** - * Gets the allAtomTypes attribute of the AtomTypeFactory object + * Gets the allAtomTypes attribute of the AtomTypeFactory object. * - *@return The allAtomTypes value + * @return The allAtomTypes value */ public org.openscience.cdk.AtomType[] getAllAtomTypes() { |