|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.nih.nlm.umls.io.IndexBuilder
public class IndexBuilder
Used for building an indexes for Metathesaurus files
| Field Summary | |
|---|---|
protected String |
dir
location of indexes directory |
protected String |
file_ext
|
| Constructor Summary | |
|---|---|
IndexBuilder(String dir)
Instantiates an IndexBuilder. |
|
IndexBuilder(String dir,
String file_ext)
Instantiates an IndexBuilder. |
|
| Method Summary | |
|---|---|
void |
buildIndex(String file,
String[] cols,
FileStatistics file_stats,
ProgressMonitor pm)
Builds an index file for the given file and column. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String dir
protected String file_ext
| Constructor Detail |
|---|
public IndexBuilder(String dir)
IndexBuilder.
dir - directory where indexes directory should be located
public IndexBuilder(String dir,
String file_ext)
IndexBuilder.
dir - directory where indexes directory should be locatedfile_ext - the file extension| Method Detail |
|---|
public void buildIndex(String file,
String[] cols,
FileStatistics file_stats,
ProgressMonitor pm)
throws Exception
file - name of file to be indexedcols - names of columns to be indexedfile_stats - used to find column index in filepm - ProgressMonitor for reporting indexing progress
Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||