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/file/FileAssociationManager.java

    r8231 r8236  
    3030import javax.swing.table.*;
    3131import org.greenstone.gatherer.Configuration;
     32import org.greenstone.gatherer.DebugStream;
    3233import org.greenstone.gatherer.Dictionary;
    3334import org.greenstone.gatherer.Gatherer;
     
    8081    }
    8182    else {
    82         Gatherer.println("Didn't parse anything. About to crash.");
     83        DebugStream.println("Didn't parse anything. About to crash.");
    8384    }
    8485    }
     
    9192
    9293    public String getBrowserCommand(String url) {
    93     Gatherer.println("Get browser command: " + url);
     94    DebugStream.println("Get browser command: " + url);
    9495    // First off we try to retrieve one from the configuration
    9596    String command = Configuration.getPreviewCommand();
     
    9798    if(command != null && command.length() > 0) {
    9899        command = command.replaceAll("%1", url);
    99         Gatherer.println("Result = " + command);
     100        DebugStream.println("Result = " + command);
    100101        return command;
    101102    }
     
    134135        Configuration.setPreviewCommand(command);
    135136        command = command.replaceAll(FILENAME_ARG, url);
    136         Gatherer.println("Result = " + command);
     137        DebugStream.println("Result = " + command);
    137138        return command;
    138139    }
    139140    // if we haven't got a command by now, we'll never get one
    140     Gatherer.println("Result = null");
     141    DebugStream.println("Result = null");
    141142    return null;
    142143   
     
    280281
    281282    public void setCommand(String extension, String command) {
    282     Gatherer.println("Set Launch: " + extension + " with " + command);
     283    DebugStream.println("Set Launch: " + extension + " with " + command);
    283284    // Retrieve any existing entry for this extension
    284285    Element entry = getCommand(extension);
Note: See TracChangeset for help on using the changeset viewer.