Changeset 9425


Ignore:
Timestamp:
2005-03-15T13:50:55+13:00 (19 years ago)
Author:
kjdon
Message:

added getResourceDir methods to provide the path to the collection resources directory

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/src/java/org/greenstone/gsdl3/util/GSFile.java

    r8562 r9425  
    171171    return "index"+File.separatorChar+index_name+File.separatorChar+
    172172        collection_name;
     173    }
     174   
     175    /** collection resources directory path */   
     176    static public String collectionResourceDir(String site_home,
     177                           String collection_name) {
     178    return collectionResourceDir(collectionBaseDir(site_home, collection_name));
     179       
     180    }
     181    static public String collectionResourceDir(String collection_home) {
     182    return collection_home + File.separatorChar+"resources";
    173183    }
    174184
Note: See TracChangeset for help on using the changeset viewer.