- Timestamp:
- 2005-02-14T11:54:04+13:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/cdm/Plugin.java
r9014 r9020 169 169 170 170 171 /** Checks whether this plugin instance will process the specified file (given its process_exp and block_exp). */171 /** Checks whether this plugin instance will process the specified file (given its process_exp). */ 172 172 public boolean doesProcessFile(File file) 173 173 { 174 // Check the filename against the plugin's process_exp and block_exp values174 // Check the filename against the plugin's process_exp value 175 175 ArrayList arguments = getArguments(true, true); 176 176 for (int i = 0; i < arguments.size(); i++) { 177 177 Argument argument = (Argument) arguments.get(i); 178 if (argument.getName().equals("process_exp") || argument.getName().equals("block_exp")) {178 if (argument.getName().equals("process_exp")) { 179 179 // Try the assigned value first, for when the user has manually set the value 180 180 String regular_expression = argument.getValue();
Note:
See TracChangeset
for help on using the changeset viewer.