|
Eclipse Platform Release 3.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.core.runtime.preferences.PreferenceFilterEntry
public final class PreferenceFilterEntry
Class which represents and preference filter entry to be used during preference import/export (for example).
IPreferenceFilter
Constructor Summary | |
---|---|
PreferenceFilterEntry(String key)
Constructor for the class. |
|
PreferenceFilterEntry(String key,
String matchType)
Constructor for the class. |
Method Summary | |
---|---|
String |
getKey()
Return the name of the preference key for this filter entry. |
String |
getMatchType()
Return the match type specified for this filter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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- Since:
- 3.3
Method Detail |
---|
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
|
Eclipse Platform Release 3.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.