|
Trispark JDT 2.50.13 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface QueryMode
QueryMode is a way of defining how the matching of values take place in
DicomDir.query
DicomDir.query(QueryTag, QueryMode, String)| Field Summary | |
|---|---|
static QueryMode |
CASE_INSENSITIVE
Case sensitive string matching examples: "John Doe" matches "John Doe" "john doe" matches "John Doe" "Johnny Doe" does not match "John Doe" "John" does not match "John Doe" |
static QueryMode |
CASE_INSENSITIVE_SUBSTRING
Case sensitive substring matching examples: "John" matches "John Doe" "doe" matches "John Doe" "Johnny Doe" does not match "John Doe" |
static QueryMode |
CASE_SENSITIVE_SUBSTRING
Case sensitive substring matching examples: "John" matches "John Doe" "Doe" matches "John Doe" "doe" does not match "John Doe" |
static QueryMode |
EMPTY
Empty string matching: only matches 'null' or an empty string |
static QueryMode |
EXACT
Exact string matching: only matches when the search pattern is exactly the same as the value |
static QueryMode |
NOT_EMPTY
Non-Empty string matching: matches everything but 'null' or an empty string |
static QueryMode |
REGEX_FULL
Regular expression matching (full pattern) examples: "[\w ]+" matches "John Doe" "John.*" matches "John Doe" "John" does not match "John Doe" "[\w]{4}" does not match "John Doe" |
static QueryMode |
REGEX_SUBSTRING
Regular expression matching (substring) examples: "[\w ]+" matches "John Doe" "John" matches "John Doe" "\d+" does not match "John Doe" |
| Method Summary | |
|---|---|
boolean |
match(java.lang.String input,
java.lang.String searchPattern)
override this method to provide your own matching mechanism |
| Field Detail |
|---|
static final QueryMode CASE_SENSITIVE_SUBSTRING
static final QueryMode CASE_INSENSITIVE_SUBSTRING
static final QueryMode EXACT
static final QueryMode CASE_INSENSITIVE
static final QueryMode REGEX_FULL
static final QueryMode REGEX_SUBSTRING
static final QueryMode EMPTY
static final QueryMode NOT_EMPTY
| Method Detail |
|---|
boolean match(java.lang.String input,
java.lang.String searchPattern)
input - the value of the dicomtagsearchPattern - the search pattern provided in DicomDir.query
|
Trispark JDT 2.50.13 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||