From c9895da98f512cc4db0b73b7e4a2b4b9ed140e47 Mon Sep 17 00:00:00 2001 From: Damian Minkov Date: Thu, 17 Jul 2008 14:28:39 +0000 Subject: Adding new method in Resource Management Service to get image path for the given image key. --- .../communicator/impl/resources/ResourceManagementServiceImpl.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/net/java/sip/communicator/impl/resources') diff --git a/src/net/java/sip/communicator/impl/resources/ResourceManagementServiceImpl.java b/src/net/java/sip/communicator/impl/resources/ResourceManagementServiceImpl.java index 2713546..49b041a 100644 --- a/src/net/java/sip/communicator/impl/resources/ResourceManagementServiceImpl.java +++ b/src/net/java/sip/communicator/impl/resources/ResourceManagementServiceImpl.java @@ -310,6 +310,11 @@ public class ResourceManagementServiceImpl } return getImageURLForPath(path); } + + public String getImagePath(String key) + { + return findString(key, imageResourceBundle); + } public URL getImageURLForPath(String path) { -- cgit v1.1