Changeset 6622 for trunk/gli/src/org/greenstone/gatherer/file
- Timestamp:
- 2004-01-27T16:35:34+13:00 (20 years ago)
- Location:
- trunk/gli/src/org/greenstone/gatherer/file
- Files:
-
- 3 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 } -
trunk/gli/src/org/greenstone/gatherer/file/FileNode.java
r6255 r6622 218 218 /** Adds child to the receiver at index. */ 219 219 public void insert(MutableTreeNode child, int index) { 220 ///ystem.err.println("Insert " + child + " in " + this + " at index " + index + " [Model: " + model + "]");220 Gatherer.println("Insert " + child + " in " + this + " at index " + index + " [Model: " + model + "]"); 221 221 //map(); 222 222 try { -
trunk/gli/src/org/greenstone/gatherer/file/FileSystemModel.java
r6590 r6622 67 67 stale_node = (FileNode) stale_object; 68 68 } 69 Gatherer.print("Searching for '" + stale_ node+ "': ");69 Gatherer.print("Searching for '" + stale_object + "': "); 70 70 // Locate the fresh node by searching current's children. Remember to ensure that current is mapped. 71 71 current.map();
Note:
See TracChangeset
for help on using the changeset viewer.