Changeset 12293


Ignore:
Timestamp:
2006-07-24T17:01:08+12:00 (18 years ago)
Author:
kjdon
Message:

getExploderPlugin changed to getExploderPlugins, and returns an ArrayList of possible plugins

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/cdm/PluginManager.java

    r12250 r12293  
    186186    }
    187187
    188     public Plugin getExploderPlugin(File file)
     188    public ArrayList getExploderPlugins(File file)
    189189    {
     190    ArrayList exp_plugins = new ArrayList();
    190191    for (int i = 0; i < library.size(); i++) {
    191192        Plugin plugin = (Plugin) library.get(i);
    192193        if (plugin.doesProcessFile(file) == true && plugin.doesExplodeMetadataDatabases() == true) {
    193         return plugin;
    194         }
    195     }
    196     return null;
    197    
     194        exp_plugins.add(plugin);
     195        }
     196    }
     197    return exp_plugins;
    198198    }
    199199
Note: See TracChangeset for help on using the changeset viewer.