Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.replacement.smiley
Class Resources

java.lang.Object
  extended by net.java.sip.communicator.impl.replacement.smiley.Resources

public class Resources
extends Object

The Resources is used to access smiley icons.

Author:
Yana Stamcheva, Adam Netocny

Constructor Summary
Resources()
           
 
Method Summary
static Collection<Smiley> getDefaultSmileyPack()
          Load default smileys pack.
static Smiley getSmiley(String smileyString)
          Returns a Smiley object for a given smiley string.
static void reloadResources()
          Reloads smilies.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Resources

public Resources()
Method Detail

getDefaultSmileyPack

public static Collection<Smiley> getDefaultSmileyPack()
Load default smileys pack.

Returns:
the ArrayList of all smileys.

getSmiley

public static Smiley getSmiley(String smileyString)
Returns a Smiley object for a given smiley string.

Parameters:
smileyString - One of :-), ;-), etc.
Returns:
A Smiley object for a given smiley string.

reloadResources

public static void reloadResources()
Reloads smilies.


Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.