Changeset 24548 for main/trunk/greenstone2
- Timestamp:
- 2011-09-02T19:39:10+12:00 (13 years ago)
- Location:
- main/trunk/greenstone2/perllib/plugins
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/perllib/plugins/BibTexPlugin.pm
r17026 r24548 45 45 46 46 use SplitTextFile; 47 use MetadataRead; 47 48 use strict; 48 49 no strict 'refs'; # allow filehandles to be variables and viceversa … … 50 51 # BibTexPlugin is a sub-class of SplitTextFile. 51 52 sub BEGIN { 52 @BibTexPlugin::ISA = (' SplitTextFile');53 @BibTexPlugin::ISA = ('MetadataRead', 'SplitTextFile'); 53 54 } 54 55 -
main/trunk/greenstone2/perllib/plugins/DatabasePlugin.pm
r23352 r24548 40 40 41 41 use AutoExtractMetadata; 42 use MetadataRead; 42 43 use unicode; 43 44 44 45 sub BEGIN { 45 @DatabasePlugin::ISA = (' AutoExtractMetadata');46 @DatabasePlugin::ISA = ('MetadataRead', 'AutoExtractMetadata'); 46 47 } 47 48 -
main/trunk/greenstone2/perllib/plugins/LOMPlugin.pm
r23212 r24548 34 34 use ReadTextFile; 35 35 use MetadataPass; 36 use MetadataRead; 36 37 use XMLParser; 37 38 use Cwd; 38 39 40 # methods with identical signatures take precedence in the order given in the ISA list. 39 41 sub BEGIN { 40 @ISA = (' ReadTextFile', 'MetadataPass');42 @ISA = ('MetadataRead', 'ReadTextFile', 'MetadataPass'); 41 43 } 42 44 … … 129 131 # can we process this file?? 130 132 my ($filename_full_path, $filename_no_path) = &util::get_full_filenames($base_dir, $file); 131 return undef unless $self->can_process_this_file ($filename_full_path);133 return undef unless $self->can_process_this_file_for_metadata($filename_full_path); 132 134 133 135 $file =~ s/^[\/\\]+//; # $file often begins with / so we'll tidy it up -
main/trunk/greenstone2/perllib/plugins/LaTeXPlugin.pm
r16104 r24548 34 34 # greenstone packages 35 35 use ReadTextFile; 36 use MetadataRead; 36 37 use unicode; 37 38 use util; … … 51 52 52 53 sub BEGIN { 53 @LaTeXPlugin::ISA = (' ReadTextFile');54 @LaTeXPlugin::ISA = ('MetadataRead', 'ReadTextFile'); 54 55 } 55 56 -
main/trunk/greenstone2/perllib/plugins/NulPlugin.pm
r15872 r24548 38 38 39 39 use BasePlugin; 40 use MetadataRead; 40 41 41 42 use strict; … … 43 44 44 45 sub BEGIN { 45 @NulPlugin::ISA = (' BasePlugin');46 @NulPlugin::ISA = ('MetadataRead', 'BasePlugin'); 46 47 } 47 48 -
main/trunk/greenstone2/perllib/plugins/PagedImagePlugin.pm
r24148 r24548 138 138 use ReadTextFile; 139 139 use ImageConverter; 140 use MetadataRead; 140 141 141 142 use strict; … … 143 144 144 145 sub BEGIN { 145 @PagedImagePlugin::ISA = (' ReadXMLFile', 'ReadTextFile', 'ImageConverter');146 @PagedImagePlugin::ISA = ('MetadataRead', 'ReadXMLFile', 'ReadTextFile', 'ImageConverter'); 146 147 } 147 148 -
main/trunk/greenstone2/perllib/plugins/ProCitePlugin.pm
r17480 r24548 30 30 use multiread; 31 31 use SplitTextFile; 32 use MetadataRead; 32 33 33 34 use strict; … … 36 37 # ProCitePlugin is a sub-class of SplitTextFile 37 38 sub BEGIN { 38 @ProCitePlugin::ISA = (' SplitTextFile');39 @ProCitePlugin::ISA = ('MetadataRead', 'SplitTextFile'); 39 40 } 40 41 -
main/trunk/greenstone2/perllib/plugins/ReferPlugin.pm
r16104 r24548 64 64 65 65 use SplitTextFile; 66 use MetadataRead; 66 67 use strict; 67 68 no strict 'refs'; # allow filehandles to be variables and viceversa … … 69 70 # ReferPlugin is a sub-class of BasePlugin. 70 71 sub BEGIN { 71 @ReferPlugin::ISA = (' SplitTextFile');72 @ReferPlugin::ISA = ('MetadataRead', 'SplitTextFile'); 72 73 } 73 74 -
main/trunk/greenstone2/perllib/plugins/RogPlugin.pm
r18327 r24548 29 29 30 30 use BasePlugin; 31 use MetadataRead; 31 32 use sorttools; 32 33 use doc; … … 36 37 37 38 sub BEGIN { 38 @RogPlugin::ISA = (' BasePlugin');39 @RogPlugin::ISA = ('MetadataRead', 'BasePlugin'); 39 40 } 40 41 -
main/trunk/greenstone2/perllib/plugins/SourceCodePlugin.pm
r17739 r24548 38 38 39 39 use ReadTextFile; 40 use MetadataRead; 40 41 41 42 use strict; … … 43 44 44 45 sub BEGIN { 45 @SourceCodePlugin::ISA = (' ReadTextFile');46 @SourceCodePlugin::ISA = ('MetadataRead', 'ReadTextFile'); 46 47 } 47 48
Note:
See TracChangeset
for help on using the changeset viewer.