Changeset 4967 for trunk/gli/src/org/greenstone/gatherer/cdm/Index.java
- Timestamp:
- 2003-07-16T15:56:23+12:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/cdm/Index.java
r4932 r4967 94 94 } 95 95 96 public Index(String level, ArrayList sources) { 97 this(sources); 98 for(int i = 0; i < LEVEL.length; i++) { 99 if(LEVEL[i].equalsIgnoreCase(level)) { 100 this.level = i; 101 } 102 } 103 element.setAttribute(CollectionConfiguration.LEVEL_ATTRIBUTE, LEVEL[this.level]); 104 } 105 96 106 /** Method to compare two indexes. 97 107 * @param object The other index as an <strong>Object</strong>.
Note:
See TracChangeset
for help on using the changeset viewer.