Ignore:
Timestamp:
2017-03-13T11:12:37+13:00 (7 years ago)
Author:
kjdon
Message:

renamed EncodingUtil to CommonUtil, BasePlugin to BaseImporter. The idea is that only top level plugins that you can specify in your collection get to have plugin in their name. Modified all other plugins to reflect these name changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/plugins/DirectoryPlugin.pm

    r31477 r31492  
    3131
    3232use extrametautil;
    33 use EncodingUtil;
     33use CommonUtil;
    3434use plugin;
    3535use util;
     
    4747
    4848BEGIN {
    49     @DirectoryPlugin::ISA = ('EncodingUtil');
     49    @DirectoryPlugin::ISA = ('CommonUtil');
    5050}
    5151
    5252my $arguments =
    5353    [ { 'name' => "block_exp",
    54     'desc' => "{BasePlugin.block_exp}",
     54    'desc' => "{BaseImporter.block_exp}",
    5555    'type' => "regexp",
    5656    'deft' => &get_default_block_exp(),
     
    8181    push(@{$hashArgOptLists->{"OptList"}},$options);
    8282
    83     my $self = new EncodingUtil($pluginlist, $inputargs, $hashArgOptLists);
     83    my $self = new CommonUtil($pluginlist, $inputargs, $hashArgOptLists);
    8484   
    8585    if ($self->{'info_only'}) {
Note: See TracChangeset for help on using the changeset viewer.