|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.rssowl.controller.properties.PropertiesFilter
public class PropertiesFilter
The PropertiesFilter creates and Index over all existing Property Pages. The index contains the I18N keys of most preferences. For a given Filter value, a list of matching Property Pages is returned.
| Field Summary | |
|---|---|
private java.util.HashMap |
index
|
| Constructor Summary | |
|---|---|
PropertiesFilter()
Instantiate a new PropertiesFilter. |
|
| Method Summary | |
|---|---|
private void |
addToIndex(java.lang.StringBuffer index,
java.lang.String i18nKey)
Adds a new Value to the Index. |
private void |
createIndex()
Create the Index over all Property Pages. |
private java.util.regex.Pattern |
createPattern(java.lang.String str)
Creates a regular Expression Pattern from the given Value. |
java.util.ArrayList |
filter(java.lang.String str)
Filter the Index by the given Value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private java.util.HashMap index
| Constructor Detail |
|---|
public PropertiesFilter()
| Method Detail |
|---|
public java.util.ArrayList filter(java.lang.String str)
str - The String to Filter the Property Pages.
private void addToIndex(java.lang.StringBuffer index,
java.lang.String i18nKey)
index - A single String containing all Values.i18nKey - The Value to add as I18N Key.private void createIndex()
private java.util.regex.Pattern createPattern(java.lang.String str)
str - The Value to create a Pattern from.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||