source: trunk/gsdl3/src/java/org/greenstone/gsdl3/gs3build/indexers/IndexerFactory.java@ 6736

Last change on this file since 6736 was 6736, checked in by cs025, 20 years ago

Added factory method, abstract indexer. Also modified Manager and
Interface to support naming of indexers, and MG and MGPP altered
accordingly.

  • Property svn:keywords set to Author Date Id Revision
File size: 264 bytes
Line 
1package org.greenstone.gsdl3.gs3build.indexers;
2
3public class IndexerFactory
4{ public static final IndexerInterface makeIndexer(String type, String name)
5 { if (type.equals(MGIndexer.MG_INDEX_TYPE))
6 { return new MGIndexer(name);
7 }
8 return null;
9 }
10}
Note: See TracBrowser for help on using the repository browser.