# Print output for @column tags ?>
Developers

- Design
- Develop
- Distribute

Developer Console

## Most visited

## Recently visited

## Results for

Summary: Ctors | Methods | Inherited Methods

# SmileyResources

`public class SmileyResources`
`extends Object` `implements AbstractMessageParser.Resources`

java.lang.Object
↳ | com.google.android.util.SmileyResources

Resources for smiley parser.

## Summary

### 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
From class `java.lang.Object`
`Object` | `clone()` Creates and returns a copy of this object.
`boolean` | `equals(Object obj)` Indicates whether some other object is "equal to" this one.
`void` | `finalize()` Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.
`final Class<?>` | `getClass()` Returns the runtime class of this `Object`.
`int` | `hashCode()` Returns a hash code value for the object.
`final void` | `notify()` Wakes up a single thread that is waiting on this object's monitor.
`final void` | `notifyAll()` Wakes up all threads that are waiting on this object's monitor.
`String` | `toString()` Returns a string representation of the object.
`final void` | `wait(long timeout, int nanos)` Causes the current thread to wait until another thread invokes the `notify()` method or the `notifyAll()` method for this object, or some other thread interrupts the current thread, or a certain amount of real time has elapsed.
`final void` | `wait(long timeout)` Causes the current thread to wait until either another thread invokes the `notify()` method or the `notifyAll()` method for this object, or a specified amount of time has elapsed.
`final void` | `wait()` Causes the current thread to wait until another thread invokes the `notify()` method or the `notifyAll()` method for this object.
From interface `com.google.android.util.AbstractMessageParser.Resources`
`abstract AbstractMessageParser.TrieNode` | `getAcronyms()` Get the acronyms accepted by the parser.
`abstract AbstractMessageParser.TrieNode` | `getDomainSuffixes()` Get the possible values for the last part of a domain name.
`abstract Set<String>` | `getSchemes()` Get the known set of URL schemes.
`abstract AbstractMessageParser.TrieNode` | `getSmileys()` Get the smileys accepted by the parser.

## Public constructors

### SmileyResources

    public SmileyResources (String[] smilies,
                    int[] smileyResIds)

Parameters
`smilies` | `String`: Smiley text, e.g. ":)", "8-)"
`smileyResIds` | `int`: Resource IDs associated with the smileys.

## Public methods

### getAcronyms

    public AbstractMessageParser.TrieNode getAcronyms ()

Get the acronyms accepted by the parser.

Returns
`AbstractMessageParser.TrieNode` |

### getDomainSuffixes

    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` |

### getSchemes

    public Set<String> getSchemes ()

Get the known set of URL schemes.

Returns
`Set<String>` |

### getSmileyRes

    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.

### getSmileys

    public AbstractMessageParser.TrieNode getSmileys ()

Get the smileys accepted by the parser.

Returns
`AbstractMessageParser.TrieNode` |

Full name *
Email address *
Company / developer name
One of your Play Store app URLs *
Which best describes your business:*
Apps
Games
Apps & Games
*
*