Changeset 18945

Show
Ignore:
Timestamp:
14.04.2009 14:31:21 (10 years ago)
Author:
kjdon
Message:

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

Files:
1 modified

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.