public final class PreferenceFilterEntry extends Object
IPreferenceFilter
Constructor and Description |
---|
PreferenceFilterEntry(String key)
Constructor for the class.
|
PreferenceFilterEntry(String key,
String matchType)
Constructor for the class.
|
Modifier and Type | Method and Description |
---|---|
String |
getKey()
Return the name of the preference key for this filter entry.
|
String |
getMatchType()
Return the match type specified for this filter.
|
public PreferenceFilterEntry(String key)
null
or empty.key
- the name of the preference keypublic PreferenceFilterEntry(String key, String matchType)
null
or empty.
Setting matchType to "prefix" treats the key as if it were a regular expression
with an asterisk at the end. If matchType is null
, the key must be
an exact match.
key
- the name of the preference keymatchType
- specifies key match type, may be null to indicate
that exact match is required
public String getKey()
null
or the
empty string.public String getMatchType()
null
to indicate that exact match is used.null
indicating that
exact match is used
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.