|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.impl.replacement.smiley.ReplacementServiceSmileyImpl
public class ReplacementServiceSmileyImpl
Implements the ReplacementService to provide smiley as replacement
source.
| Field Summary | |
|---|---|
static String |
SMILEY_SOURCE
Configuration label shown in the config form. |
static String |
smileyRegex
The regex used to match the smilies in the message. |
| Fields inherited from interface net.java.sip.communicator.service.replacement.ReplacementService |
|---|
SOURCE_NAME |
| Constructor Summary | |
|---|---|
ReplacementServiceSmileyImpl()
|
|
| Method Summary | |
|---|---|
String |
getPattern()
Returns the pattern of the source |
String |
getReplacement(String sourceString)
Replaces the smiley strings with their corresponding smiley image. |
Collection<Smiley> |
getSmiliesPack()
Returns the smileys pack to use in the user interface. |
String |
getSourceName()
Returns the source name |
void |
reloadSmiliesPack()
Reloads all smilies. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String SMILEY_SOURCE
public static String smileyRegex
| Constructor Detail |
|---|
public ReplacementServiceSmileyImpl()
| Method Detail |
|---|
public String getReplacement(String sourceString)
getReplacement in interface ReplacementServicesourceString - the original smiley string.
public String getSourceName()
getSourceName in interface ReplacementServicepublic String getPattern()
getPattern in interface ReplacementServicepublic Collection<Smiley> getSmiliesPack()
getSmiliesPack in interface SmiliesReplacementServicepublic void reloadSmiliesPack()
reloadSmiliesPack in interface SmiliesReplacementService
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||