| Constructor and Description |
|---|
CountryFactoid() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getFactoid(java.lang.String lookup)
Returns the factoid's response based on a lookup parameter.
|
java.lang.Boolean |
isTriggered(java.lang.String trigger)
Checks if a word a trigger word for this factoid.
|
public java.lang.Boolean isTriggered(java.lang.String trigger)
FactoidisTriggered in interface Factoidtrigger - the word to checkpublic java.lang.String getFactoid(java.lang.String lookup)
FactoidgetFactoid in interface Factoidlookup - a parameter to pass to the factoid that may influence the response