Ignore:
Timestamp:
2003-07-25T16:57:45+12:00 (21 years ago)
Author:
jmt12
Message:

Opps. Forgot to finish some code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/msm/GreenstoneArchiveParser.java

    r5039 r5047  
    9090    }
    9191
    92     private void extractMetadata(File file) {
     92    private int extractMetadata(File file) {
     93    int count = 0;
    9394    // Retrieve the DOM of the file.
    9495    Document document = Utility.parse(file, false);
     
    158159                    Metadata metadata = new Metadata(element, value_node);
    159160                    Gatherer.c_man.getCollection().gdm.metadataChanged(new MSMEvent(this, System.currentTimeMillis(), target_file, null, metadata));
     161                    count++;
    160162                    // All done. On to next metadata.
    161163                    }
     
    171173        }
    172174    }
     175    return count;
    173176    }
    174177
Note: See TracChangeset for help on using the changeset viewer.