|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Generically represents an input source for Metathesaurus data.
Method Summary | |
int |
getChooserType()
Indicates the type of file accepted by the file chooser. |
int |
getConceptProgress()
Return an int between 0 and 100 indicating
how far along the input stream is in reading Concept s. |
int |
getIndexProgress()
Return an int between 0 and 100 indicating
how far along the input stream is in reading IndexEntry
elements. |
boolean |
hasFullContextData()
Indicates whether this input source has full context data, such as that included in a MRCXT file. |
boolean |
isEfficientMode()
Returns the mode in which subsetting will be run. |
void |
setEfficientMode(boolean efficient)
Sets the subsetting mode to efficient. |
boolean |
validateSourcePath(String source_path)
Validates the source path. |
boolean |
validateSourcePaths(String[] source_paths)
Validates the source paths. |
boolean |
validateVersion(String path)
Attempts to determine the version of the release being used and validate it against the version from the properties file. |
boolean |
validateVersions(String[] source_paths)
For each source path it attempts to determine the version of the release being used and validate it against the version from the properties file. |
Methods inherited from interface gov.nih.nlm.umls.io.MetathesaurusInputStream |
getAmbiguousStringIdentifiers, getAmbiguousStringIdentifiersAsList, getAmbiguousTermIdentifiers, getAmbiguousTermIdentifiersAsList, readIndexEntry, readReleaseMetadata |
Methods inherited from interface gov.nih.nlm.umls.io.ConceptInputStream |
close, open, readConcept |
Methods inherited from interface gov.nih.nlm.mms.GUIConfigurable |
addDataChangeListener, getColor, getGUIConfigurableForValidationFailure, getHelpPanel, getName, getPanel, getTabDescription, getValidationErrors, getValidationWarnings, hasAdvancedOptions, hasDataChanged, removeDataChangeListener, resetDataChanged, setDataChanged, setPanelSelections, showOptions, validate |
Methods inherited from interface gov.nih.nlm.mms.Configurable |
getConfigurationDetails, getProperties, resetToDefaults, setConfiguration, setConfiguration, setProperties |
Methods inherited from interface java.lang.Comparable |
compareTo |
Methods inherited from interface gov.nih.nlm.mms.SubsetListener |
beginInitializeCuiList, beginSubsetContent, endInitializeCuiList, endSubsetContent, setCuiList |
Method Detail |
public int getConceptProgress()
int
between 0 and 100 indicating
how far along the input stream is in reading Concept
s.
This information can be used for a progress monitor.
getConceptProgress
in interface ConceptInputStream
int
representing percentage completepublic int getIndexProgress()
int
between 0 and 100 indicating
how far along the input stream is in reading IndexEntry
elements. This information can be used for a progress monitor.
getIndexProgress
in interface MetathesaurusInputStream
int
representing percentage completepublic boolean validateSourcePath(String source_path)
source_path
- path to be validated
true
if validation passes
false
otherwisepublic boolean validateSourcePaths(String[] source_paths)
source_paths
- to be validated
true
if validation passes
false
otherwisepublic boolean validateVersions(String[] source_paths)
false
is returned.
source_paths
- to be validated
true
if validation passes
false
otherwisepublic boolean validateVersion(String path)
false
is returned.
path
- source path to be validated
true
if validation passes
false
otherwisepublic int getChooserType()
String
public void setEfficientMode(boolean efficient)
efficient
- true
if subsetting should be run in efficient mode
false
if notpublic boolean isEfficientMode()
true
if subsetting will be run in efficient mode
false
otherwisepublic boolean hasFullContextData()
true
if this input source has full context data;
false
otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |