public class StringTableDictionaryImpl extends AbstractBaseDictionary
Constructor and Description |
---|
StringTableDictionaryImpl(StringTable strTable,
String lookupFieldName) |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(String text)
Determines whether the Dictionary contains the specified input text.
|
Collection<MetaDataHit> |
getEntries(String text)
Gets any meta data entries associated with the specified input text.
|
getMetaFieldNames, retainMetaData
public StringTableDictionaryImpl(StringTable strTable, String lookupFieldName)
public boolean contains(String text) throws DictionaryException
text
- The input text.DictionaryException
public Collection<MetaDataHit> getEntries(String text) throws DictionaryException
text
- The input text.DictionaryException
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.