Ignore:
Timestamp:
2004-10-08T09:46:12+13:00 (20 years ago)
Author:
mdewsnip
Message:

Replaced all Gatherer.print* with DebugStream.print*.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/collection/ExportCollectionPrompt.java

    r8231 r8236  
    4343import javax.swing.*;
    4444import javax.swing.event.*;
     45import org.greenstone.gatherer.Configuration;
     46import org.greenstone.gatherer.DebugStream;
     47import org.greenstone.gatherer.Dictionary;
     48import org.greenstone.gatherer.Gatherer;
    4549import org.greenstone.gatherer.checklist.CheckList;
    4650import org.greenstone.gatherer.checklist.Entry;
    47 import org.greenstone.gatherer.Configuration;
    48 import org.greenstone.gatherer.Dictionary;
    49 import org.greenstone.gatherer.Gatherer;
    5051import org.greenstone.gatherer.collection.BasicCollectionConfiguration;
    5152import org.greenstone.gatherer.collection.Collection;
     
    252253     */
    253254    public void exportCollections() {
    254     Gatherer.println("ExportCollectionPrompt.exportCollection()");
     255    DebugStream.println("ExportCollectionPrompt.exportCollection()");
    255256
    256257    int num_collections = selected_collections.size();
     
    290291    }
    291292   
    292     Gatherer.print("export command = ");
     293    DebugStream.print("export command = ");
    293294    for (int i=0; i<args.length; i++) {
    294         Gatherer.print(args[i]+" ");
    295     }
    296     Gatherer.println("");
     295        DebugStream.print(args[i]+" ");
     296    }
     297    DebugStream.println("");
    297298    GShell process = new GShell(args, GShell.EXPORT, 3, this, null, GShell.GSHELL_EXPORT);
    298299    process.start();
    299300    //process.run();
    300     Gatherer.println("ExportCollectionPrompt.exportCollection().return");
     301    DebugStream.println("ExportCollectionPrompt.exportCollection().return");
    301302    }
    302303
     
    380381    if (message.startsWith("exportcol.pl>")) {
    381382        message = message.substring(13);
    382         //Gatherer.println("message = "+event.getMessage());
     383        //DebugStream.println("message = "+event.getMessage());
    383384        error_message.append(message);
    384385        error_message.append("\n");
Note: See TracChangeset for help on using the changeset viewer.