|
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.viddler.ReplacementServiceViddlerImpl
public class ReplacementServiceViddlerImpl
Implements the ReplacementService to provide previews for Viddler
links.
| Field Summary | |
|---|---|
static String |
SOURCE_NAME
Source name; also used as property label. |
static String |
VIDDLER_CONFIG_LABEL
Configuration label shown in the config form. |
static String |
VIDDLER_PATTERN
The regex used to match the link in the message. |
| Constructor Summary | |
|---|---|
ReplacementServiceViddlerImpl()
Constructor for ReplacementServiceViddlerImpl. |
|
| Method Summary | |
|---|---|
String |
getPattern()
Returns the pattern of the source |
String |
getReplacement(String sourceString)
Returns the thumbnail URL of the video link provided. |
String |
getSourceName()
Returns the source name |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String VIDDLER_PATTERN
public static final String VIDDLER_CONFIG_LABEL
public static final String SOURCE_NAME
| Constructor Detail |
|---|
public ReplacementServiceViddlerImpl()
| Method Detail |
|---|
public String getReplacement(String sourceString)
getReplacement in interface ReplacementServicesourceString - the original video link.
public String getSourceName()
getSourceName in interface ReplacementServicepublic String getPattern()
getPattern in interface ReplacementService
|
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 | |||||||||