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

    r31474 r31492  
    2828package EmbeddedMetadataPlugin;
    2929
    30 use BasePlugin;
     30use BaseImporter;
    3131use extrametautil;
    3232use util;
     
    4141sub BEGIN
    4242{
    43     @EmbeddedMetadataPlugin::ISA = ('BasePlugin');
     43    @EmbeddedMetadataPlugin::ISA = ('BaseImporter');
    4444    binmode(STDERR, ":utf8");
    4545}
     
    4848        'name' => "auto",
    4949        'desc' => "{ReadTextFile.input_encoding.auto}" }];
    50 push(@{$encoding_plus_auto_list},@{$EncodingUtil::encoding_list});
     50push(@{$encoding_plus_auto_list},@{$CommonUtil::encoding_list});
    5151
    5252my $arguments = [{
     
    104104    if(defined $options) { push(@{$hashArgOptLists->{"OptList"}},$options)};
    105105
    106     my $self = new BasePlugin($pluginlist, $inputargs, $hashArgOptLists);
     106    my $self = new BaseImporter($pluginlist, $inputargs, $hashArgOptLists);
    107107
    108108    # Create a new Image::ExifTool object
Note: See TracChangeset for help on using the changeset viewer.