# Print output for @column tags ?>
public
class
SmileyResources
extends Object
implements
AbstractMessageParser.Resources
java.lang.Object | |
↳ | com.google.android.util.SmileyResources |
Resources for smiley parser.
Public constructors | |
---|---|
SmileyResources(String[] smilies, int[] smileyResIds)
|
Public methods | |
---|---|
AbstractMessageParser.TrieNode
|
getAcronyms()
Get the acronyms accepted by the parser. |
AbstractMessageParser.TrieNode
|
getDomainSuffixes()
Get the possible values for the last part of a domain name. |
Set<String>
|
getSchemes()
Get the known set of URL schemes. |
int
|
getSmileyRes(String smiley)
Looks up the resource id of a given smiley. |
AbstractMessageParser.TrieNode
|
getSmileys()
Get the smileys accepted by the parser. |
Inherited methods | |
---|---|
public SmileyResources (String[] smilies, int[] smileyResIds)
Parameters | |
---|---|
smilies |
String : Smiley text, e.g. ":)", "8-)" |
smileyResIds |
int : Resource IDs associated with the smileys. |
public AbstractMessageParser.TrieNode getAcronyms ()
Get the acronyms accepted by the parser.
Returns | |
---|---|
AbstractMessageParser.TrieNode |
public AbstractMessageParser.TrieNode getDomainSuffixes ()
Get the possible values for the last part of a domain name. Values are expected to be reversed in the Trie.
Returns | |
---|---|
AbstractMessageParser.TrieNode |
public int getSmileyRes (String smiley)
Looks up the resource id of a given smiley.
Parameters | |
---|---|
smiley |
String : The smiley to look up. |
Returns | |
---|---|
int |
the resource id of the specified smiley, or -1 if no resource id is associated with it. |
public AbstractMessageParser.TrieNode getSmileys ()
Get the smileys accepted by the parser.
Returns | |
---|---|
AbstractMessageParser.TrieNode |