- Timestamp:
- 2009-04-23T18:48:02+12:00 (15 years ago)
- Location:
- gli/trunk/src/org/greenstone/gatherer/collection
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
gli/trunk/src/org/greenstone/gatherer/collection/Collection.java
r19227 r19242 181 181 */ 182 182 public String getName() { 183 return getCollection SubName();184 } 185 186 /** @return just the sub-name of the collection: without any collection group prefix */187 public String getCollection SubName() {183 return getCollectionTailName(); 184 } 185 186 /** @return just the tail-name of the collection: without any collection group prefix */ 187 public String getCollectionTailName() { 188 188 return file.getParentFile().getName(); 189 189 } … … 221 221 // shouldn't happen, but in case it does, just return the collection name. 222 222 System.err.println("Current collection " + currentCollDir + " is not located inside collectdir " + "collectDir"); 223 groupAndCol = getCollection SubName();223 groupAndCol = getCollectionTailName(); 224 224 } 225 225 -
gli/trunk/src/org/greenstone/gatherer/collection/CollectionManager.java
r19203 r19242 917 917 918 918 /** @return the subname of any collection (stripped of any collection-group). */ 919 static public String getLoadedCollection SubName()919 static public String getLoadedCollectionTailName() 920 920 { 921 921 if (collection != null) { 922 return collection.getCollection SubName();922 return collection.getCollectionTailName(); 923 923 } 924 924
Note:
See TracChangeset
for help on using the changeset viewer.