- Timestamp:
- 2003-12-19T14:54:25+13:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/shell/GBuildProgressMonitor.java
r6006 r6325 42 42 import org.greenstone.gatherer.cdm.CollectionDesignManager; 43 43 import org.greenstone.gatherer.shell.GImportProgressMonitor; 44 import org.greenstone.gatherer.shell.GShellEvent; 44 45 import org.greenstone.gatherer.shell.GShellProgressMonitor; 45 46 /** This implementation of <i>GShellProgressMonitor</i> is designed to parse and translate the progress of a buildcol.pl call. … … 150 151 151 152 /** This method is used to 'feed in' a line of text captured from the process. 152 * @param line A <strong>String</strong> of text captured from either standard out or standard error.153 */ 154 public void p arse(String raw_line) {155 String line = raw_line.toLowerCase();153 * @param event a GShellEvent containing information from the GShell 154 */ 155 public void process(GShellEvent event) { 156 String line = event.getMessage().toLowerCase(); 156 157 // We first check if we can parse, which depends on num_docs > 0 and num_indexes > 0. 157 158 if(num_docs > 0 && num_indexes > 0) {
Note:
See TracChangeset
for help on using the changeset viewer.