- Timestamp:
- 2004-01-27T16:35:34+13:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/file/FileAssociationManager.java
r6539 r6622 105 105 106 106 public String getBrowserCommand(String url) { 107 System.err.println("Get browser command: " + url);107 Gatherer.println("Get browser command: " + url); 108 108 // First off we try to retrieve one from the configuration 109 109 String command = Gatherer.config.getPreviewCommand(); … … 111 111 if(command != null && command.length() > 0) { 112 112 command = command.replaceAll("%1", url); 113 System.err.println("Result = " + command);113 Gatherer.println("Result = " + command); 114 114 return command; 115 115 } … … 164 164 // if we haven't got a command by now, we'll never get one 165 165 if (command == null) { 166 System.err.println("Result = " + command);166 Gatherer.println("Result = " + command); 167 167 return null; 168 168 } 169 169 // Replace %1 with the url in quotes 170 170 command = command.replaceAll(FILENAME_ARG, url); 171 System.err.println("Result = " + command);171 Gatherer.println("Result = " + command); 172 172 return command; 173 173 }
Note:
See TracChangeset
for help on using the changeset viewer.