diff options
Diffstat (limited to 'src/net/java/sip/communicator/impl/replacement/bliptv/ReplacementServiceBliptvImpl.java')
-rw-r--r-- | src/net/java/sip/communicator/impl/replacement/bliptv/ReplacementServiceBliptvImpl.java | 25 |
1 files changed, 18 insertions, 7 deletions
diff --git a/src/net/java/sip/communicator/impl/replacement/bliptv/ReplacementServiceBliptvImpl.java b/src/net/java/sip/communicator/impl/replacement/bliptv/ReplacementServiceBliptvImpl.java index 70fb553..d51bd36 100644 --- a/src/net/java/sip/communicator/impl/replacement/bliptv/ReplacementServiceBliptvImpl.java +++ b/src/net/java/sip/communicator/impl/replacement/bliptv/ReplacementServiceBliptvImpl.java @@ -36,19 +36,20 @@ public class ReplacementServiceBliptvImpl "(?:[\\>])(http:\\/\\/(?:www\\.)?blip\\.tv\\/file\\/(\\d+).*(?=<))"; /** - * Configuration label property name. The label is saved in the languages - * file under this property. + * Configuration label shown in the config form. */ - public static final String BLIPTV_CONFIG_LABEL = "BLIPTV"; + public static final String BLIPTV_CONFIG_LABEL = "Blip.tv"; /** - * Constructor for <tt>ReplacementServiceBliptvImpl</tt>. The source needs - * to add itself to {@link ReplacementService} sourceList to be displayed in - * the configuration panel. + * Source name; also used as property label. + */ + public static final String SOURCE_NAME = "BLIPTV"; + + /** + * Constructor for <tt>ReplacementServiceBliptvImpl</tt>. */ public ReplacementServiceBliptvImpl() { - sourceList.add(BLIPTV_CONFIG_LABEL); logger.trace("Creating a Blip.TV Source."); } @@ -127,4 +128,14 @@ public class ReplacementServiceBliptvImpl return chatString; } + + /** + * Returns the source name + * + * @return the source name + */ + public String getSourceName() + { + return SOURCE_NAME; + } }
\ No newline at end of file |