|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.sourceforge.java.feednread.backend.model.watchestree.WatchSettingsEntry
Represents a detail unit within a WatchSettings object.
| Field Summary | |
private boolean |
caseSensitive
true if case sensitive; false if case
insensitive matching
|
private String |
keyword
The keyword to match |
private boolean |
wholeWord
true if only whole words have to be matched;
false otherwise
|
| Constructor Summary | |
WatchSettingsEntry(String keyword,
boolean caseSensitive,
boolean wholeWord)
Creates a new WatchSettingsEntry with the specified parameters which
define the matching behaviour.
|
|
| Method Summary | |
String |
getKeyword()
Gets the keyword of this WatchSettingsEntry.
|
boolean |
isCaseSensitive()
Returns true indicates case sensitive, false
case insensitive matching.
|
boolean |
isWholeWord()
Returns true if only whole words have to be matched.
|
void |
setCaseSensitive(boolean caseSensitive)
Sets the case sensitive matching of this WatchSettingsEntry
where true indicates case sensitive, false
case insensitive matching.
|
void |
setKeyword(String keyword)
Sets the keyword of this WatchSettingsEntry.
|
void |
setWholeWord(boolean wholeWord)
Sets the whole word matching of this WatchSettingsEntry.
|
String |
toString()
Converts this WatchSettingsEntry to a textual representation.
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
private String keyword
The keyword to match
private boolean caseSensitive
true if case sensitive; false if case
insensitive matching
private boolean wholeWord
true if only whole words have to be matched;
false otherwise
| Constructor Detail |
public WatchSettingsEntry(String keyword,
boolean caseSensitive,
boolean wholeWord)
Creates a new WatchSettingsEntry with the specified parameters which
define the matching behaviour.
keyword - the keyword to matchcaseSensitive - true for case sensitive; false
for case insensitive matchingwholeWord - true to only match whole words; false
otherwise| Method Detail |
public boolean isCaseSensitive()
Returns true indicates case sensitive, false
case insensitive matching.
true if case sensitive; false
if case insensitive matchingsetCaseSensitive(boolean)public void setCaseSensitive(boolean caseSensitive)
Sets the case sensitive matching of this WatchSettingsEntry
where true indicates case sensitive, false
case insensitive matching.
caseSensitive - true for case sensitive; false
for case insensitive matchingisCaseSensitive()public String getKeyword()
Gets the keyword of this WatchSettingsEntry.
WatchSettingsEntrysetKeyword(String)public void setKeyword(String keyword)
Sets the keyword of this WatchSettingsEntry.
keyword - the keyword of this WatchSettingsEntrygetKeyword()public boolean isWholeWord()
Returns true if only whole words have to be matched.
true if only whole words have to be matched;
false otherwisesetWholeWord(boolean)public void setWholeWord(boolean wholeWord)
Sets the whole word matching of this WatchSettingsEntry.
wholeWord - true to only match whole words;
false otherwiseisWholeWord()public String toString()
Converts this WatchSettingsEntry to a textual representation.
Returns the keyword.
WatchSettingsEntry
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||