- Timestamp:
- 2004-10-08T09:46:12+13:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/file/FileAssociationManager.java
r8231 r8236 30 30 import javax.swing.table.*; 31 31 import org.greenstone.gatherer.Configuration; 32 import org.greenstone.gatherer.DebugStream; 32 33 import org.greenstone.gatherer.Dictionary; 33 34 import org.greenstone.gatherer.Gatherer; … … 80 81 } 81 82 else { 82 Gatherer.println("Didn't parse anything. About to crash.");83 DebugStream.println("Didn't parse anything. About to crash."); 83 84 } 84 85 } … … 91 92 92 93 public String getBrowserCommand(String url) { 93 Gatherer.println("Get browser command: " + url);94 DebugStream.println("Get browser command: " + url); 94 95 // First off we try to retrieve one from the configuration 95 96 String command = Configuration.getPreviewCommand(); … … 97 98 if(command != null && command.length() > 0) { 98 99 command = command.replaceAll("%1", url); 99 Gatherer.println("Result = " + command);100 DebugStream.println("Result = " + command); 100 101 return command; 101 102 } … … 134 135 Configuration.setPreviewCommand(command); 135 136 command = command.replaceAll(FILENAME_ARG, url); 136 Gatherer.println("Result = " + command);137 DebugStream.println("Result = " + command); 137 138 return command; 138 139 } 139 140 // if we haven't got a command by now, we'll never get one 140 Gatherer.println("Result = null");141 DebugStream.println("Result = null"); 141 142 return null; 142 143 … … 280 281 281 282 public void setCommand(String extension, String command) { 282 Gatherer.println("Set Launch: " + extension + " with " + command);283 DebugStream.println("Set Launch: " + extension + " with " + command); 283 284 // Retrieve any existing entry for this extension 284 285 Element entry = getCommand(extension);
Note:
See TracChangeset
for help on using the changeset viewer.