|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SearchFilter
Defines the requirements for classes that provide search functionality.
Field Summary | |
---|---|
static java.lang.String |
MAX_FILESIZE
Default key for the maximum filesize. |
static java.lang.String |
MEDIA_TYPE
Default key for the media type. |
static java.lang.String |
MIN_FILESIZE
Default key for the minimum filesize. |
static java.lang.String |
PATH
Default key for path. |
static java.lang.String |
TEXT
Default key for the search text. |
Method Summary | |
---|---|
java.lang.Object |
get(java.lang.String key)
Returns a value. |
MediaType |
getMediaType()
Returns the media type. |
java.lang.String |
getText()
Returns the search text. |
boolean |
matches(SearchResult result)
Returns true, if the filter accepts result . |
void |
put(java.lang.String key,
java.lang.Object value)
Sets a value. |
Field Detail |
---|
static final java.lang.String MIN_FILESIZE
static final java.lang.String MAX_FILESIZE
static final java.lang.String MEDIA_TYPE
static final java.lang.String PATH
static final java.lang.String TEXT
Method Detail |
---|
java.lang.Object get(java.lang.String key)
MediaType getMediaType()
java.lang.String getText()
void put(java.lang.String key, java.lang.Object value)
boolean matches(SearchResult result)
result
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |