public final class KeywordCriteria
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONTAINS_KEYWORD
Queries all files containing any of the given keywords.
|
Constructor and Description |
---|
KeywordCriteria() |
Modifier and Type | Method and Description |
---|---|
static QueryCriteria |
get(java.lang.String keyword)
Convenience method to get a
QueryCriteria object configured to
search for the given keyword. |
static QueryCriteria |
get(java.lang.String[] keywords)
Convenience method to get a
QueryCriteria object configured to
search for the given keywords. |
public static final java.lang.String CONTAINS_KEYWORD
public static QueryCriteria get(java.lang.String keyword)
QueryCriteria
object configured to
search for the given keyword.keyword
- the keyword to search forpublic static QueryCriteria get(java.lang.String[] keywords)
QueryCriteria
object configured to
search for the given keywords.keywords
- the keywords to search for