public interface ITermAccess
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the connection to the termbase.
|
List<TermHit> |
getExistingStrings(TextFragment fragment,
LocaleId fragmentLoc,
LocaleId otherLoc) |
List<TermHit> |
getExistingTerms(TextFragment fragment,
LocaleId fragmentLoc,
LocaleId otherLoc)
Gets the list of all terms of the termbase that exist in a given fragment
for a given source/target pair of locales.
|
IParameters |
getParameters()
Gets the current parameters for this termbase connector.
|
void |
open()
Opens the connection to the termbase.
|
void |
setParameters(IParameters params)
Sets the parameters for this termbase connector.
|
void setParameters(IParameters params)
params - the new parameterIParameters getParameters()
void open()
setParameters(IParameters) before this method.void close()
List<TermHit> getExistingTerms(TextFragment fragment, LocaleId fragmentLoc, LocaleId otherLoc)
fragment - the fragment to examine.fragmentLoc - the locale of the fragment.otherLoc - the other (source or target) locale.List<TermHit> getExistingStrings(TextFragment fragment, LocaleId fragmentLoc, LocaleId otherLoc)
Copyright © 2020. All rights reserved.