Ignore:
Timestamp:
2004-05-05T11:23:40+12:00 (20 years ago)
Author:
kjdon
Message:

renamed Utility.CONFIG_DIR to Utility.CONFIG_FILE cos it refers to the file, not the directory. Also getConfigDir renamed to getConfigFile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/util/Utility.java

    r7224 r7275  
    8989    static final public String COLLECTION_TREE = "Collection";
    9090    /** Definition of an important directory name, in this case the file the collection configuration is expect to be in. */
    91     static final public String CONFIG_DIR = "etc" + File.separator + "collect.cfg";
     91    static final public String CONFIG_FILE = "etc" + File.separator + "collect.cfg";
    9292    /** The default file name for the urls missing any file. */
    9393    static final public String DEFAULT_FILE = "index.html";
     
    505505     * @return The location of the given collections configuration file, also as a <strong>String</strong>.
    506506     */
    507     static public String getConfigDir(String col_dir) {
    508     return col_dir + CONFIG_DIR;
     507    static public String getConfigFile(String col_dir) {
     508    return col_dir + CONFIG_FILE;
    509509    }
    510510
Note: See TracChangeset for help on using the changeset viewer.