- Timestamp:
- 2009-04-22T15:52:31+12:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gli/trunk/src/org/greenstone/gatherer/collection/CollectionManager.java
r19041 r19197 906 906 907 907 /** Returns the name of the loaded collection. 908 * Returns the "collectionGroupName/collectionName" or just the collectionName 909 * depending on whether the collection is part of a collection group or not. 908 910 */ 909 911 static public String getLoadedCollectionName() … … 911 913 if (collection != null) { 912 914 return collection.getName(); 915 } 916 917 return null; 918 } 919 920 /** @return the subname of any collection (stripped of any collection-group). */ 921 static public String getLoadedCollectionSubName() 922 { 923 if (collection != null) { 924 return collection.getCollectionSubName(); 913 925 } 914 926 … … 922 934 * (\ or /, depending on the OS). 923 935 */ 924 static public String getLoaded ColNameWithGroup(boolean url)936 static public String getLoadedGroupQualifiedCollectionName(boolean url) 925 937 { 926 938 if (collection != null) { 927 return collection.getGroup WithName(url);939 return collection.getGroupQualifiedName(url); 928 940 } 929 941
Note:
See TracChangeset
for help on using the changeset viewer.