Ignore:
Timestamp:
2003-07-16T15:56:23+12:00 (21 years ago)
Author:
jmt12
Message:

Major changes to CDM - MGPP extension.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/cdm/Index.java

    r4932 r4967  
    9494    }
    9595
     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
    96106    /** Method to compare two indexes.
    97107     * @param object The other index as an <strong>Object</strong>.
Note: See TracChangeset for help on using the changeset viewer.