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/NulPlugin.pm

    r24548 r31492  
    3737package NulPlugin;
    3838
    39 use BasePlugin;
     39use BaseImporter;
    4040use MetadataRead;
    4141
     
    4444
    4545sub BEGIN {
    46     @NulPlugin::ISA = ('MetadataRead', 'BasePlugin');
     46    @NulPlugin::ISA = ('MetadataRead', 'BaseImporter');
    4747}
    4848
    4949my $arguments =
    5050    [ { 'name' => "process_exp",
    51     'desc' => "{BasePlugin.process_exp}",
     51    'desc' => "{BaseImporter.process_exp}",
    5252    'type' => "regexp",
    5353    'reqd' => "no",
     
    8181    push(@{$hashArgOptLists->{"OptList"}},$options);
    8282
    83     my $self = new BasePlugin($pluginlist, $inputargs, $hashArgOptLists);
     83    my $self = new BaseImporter($pluginlist, $inputargs, $hashArgOptLists);
    8484   
    8585    return bless $self, $class;
Note: See TracChangeset for help on using the changeset viewer.