Changeset 12245


Ignore:
Timestamp:
2006-07-19T14:36:32+12:00 (18 years ago)
Author:
kjdon
Message:

added getCollection[Plugins|Classifiers]DirectoryPath methods

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/collection/CollectionManager.java

    r12157 r12245  
    624624    {
    625625    return getCollectionDirectoryPath() + "metadata" + File.separator;
     626    }
     627
     628    /** Constructs the absolute filename of the collection's metadata directory, which should resemble "$GSDLHOME/collect/<col_name>/metadata/"
     629     * @return A <strong>String</strong> containing the filename.
     630     */
     631    public String getCollectionPluginsDirectoryPath()
     632    {
     633    return getCollectionDirectoryPath() + "perllib" + File.separator +
     634        "plugins" + File.separator;
     635    }
     636    /** Constructs the absolute filename of the collection's metadata directory, which should resemble "$GSDLHOME/collect/&lt;col_name&gt;/metadata/"
     637     * @return A <strong>String</strong> containing the filename.
     638     */
     639    public String getCollectionClassifiersDirectoryPath()
     640    {
     641    return getCollectionDirectoryPath() + "perllib" + File.separator +
     642        "classify" + File.separator;
    626643    }
    627644
Note: See TracChangeset for help on using the changeset viewer.