Changeset 18945 for gli


Ignore:
Timestamp:
2009-04-14T14:31:21+12:00 (15 years ago)
Author:
kjdon
Message:

added a method to get the collection's main directory - needed if in a non-standard place

File:
1 edited

Legend:

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

    r16130 r18945  
    184184    }
    185185   
     186    public File getCollectionDirectory() {
     187    return file.getParentFile();
     188    }
     189
    186190    /** Determine if this collection has been saved since the last major change.
    187191     * @return <i>true</i> if it has been saved recently, <i>false</i> otherwise.
Note: See TracChangeset for help on using the changeset viewer.