Package de.latlon.ets.core.keyword
Class DfddKeywordMatcherFromFile
java.lang.Object
de.latlon.ets.core.keyword.DfddKeywordMatcherFromFile
- All Implemented Interfaces:
DfddKeywordMatcher
Implementation of a
DfddKeywordMatcher retrieving the keywords from a file.- Author:
- Lyn Goltz
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsAtLeastOneDfddKeyword(List<String> keywordsToCheck) Checks if the passed list of keywords contains at least one keyword from DFDD register.
-
Constructor Details
-
DfddKeywordMatcherFromFile
public DfddKeywordMatcherFromFile()
-
-
Method Details
-
containsAtLeastOneDfddKeyword
Description copied from interface:DfddKeywordMatcherChecks if the passed list of keywords contains at least one keyword from DFDD register. The check is case-sensitive!- Specified by:
containsAtLeastOneDfddKeywordin interfaceDfddKeywordMatcher- Parameters:
keywordsToCheck- the keywords to check, may be empty but nevernull- Returns:
trueif the passed list contains at least one keyword from DFDD register,falseif not or the passed list is empty
-