Last change
on this file since 12188 was 12188, checked in by kjdon, 18 years ago |
Initial revision
|
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
363 bytes
|
Line | |
---|
1 | package org.greenstone.gsdl3.gs3build.indexers;
|
---|
2 |
|
---|
3 | public 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 | else if (type.equals(MGPPIndexer.MGPP_INDEX_TYPE)) {
|
---|
9 | return new MGPPIndexer(name);
|
---|
10 | }
|
---|
11 | return null;
|
---|
12 | }
|
---|
13 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.