Ignore:
Timestamp:
2004-10-08T14:17:01+13:00 (20 years ago)
Author:
mdewsnip
Message:

Removed the getCollectionDir() function from Utility, since it is dependent on the Gatherer class.

Location:
trunk/gli/src/org/greenstone/gatherer/msm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/msm/GreenstoneArchiveParser.java

    r8243 r8248  
    158158        file_path = MSMUtils.getValue(metadata_element);
    159159        if (!file_path.startsWith(File.separator)) {
    160         String collection_dir = Utility.getCollectionDir();
     160        String collection_dir = Gatherer.c_man.getCollectionDirectory();
    161161        file_path = collection_dir + file_path;
    162162        }
  • trunk/gli/src/org/greenstone/gatherer/msm/MetadataXMLFileManager.java

    r8243 r8248  
    360360        if ((Utility.isWindows() == true && filename.charAt(1) != ':') ||
    361361            (Utility.isWindows() == false && !filename.startsWith(File.separator))) {
    362             String collection_dir = Utility.getCollectionDir();
     362            String collection_dir = Gatherer.c_man.getCollectionDirectory();
    363363            File full_file = new File(collection_dir + filename);
    364364            file = full_file;
Note: See TracChangeset for help on using the changeset viewer.