diff options
author | Yana Stamcheva <yana@jitsi.org> | 2010-09-07 11:44:46 +0000 |
---|---|---|
committer | Yana Stamcheva <yana@jitsi.org> | 2010-09-07 11:44:46 +0000 |
commit | 42fbfc39645660bf0ee18c718a9d6e9423e6f5e4 (patch) | |
tree | 23d9e017ce1a2dc752aea6f4d1c51dc9f8234fd6 /src/net/java/sip/communicator/impl/resources/ResourceManagementServiceImpl.java | |
parent | eebf8a0c4aeb2295edaee1b0765376c46020a856 (diff) | |
download | jitsi-42fbfc39645660bf0ee18c718a9d6e9423e6f5e4.zip jitsi-42fbfc39645660bf0ee18c718a9d6e9423e6f5e4.tar.gz jitsi-42fbfc39645660bf0ee18c718a9d6e9423e6f5e4.tar.bz2 |
Patch provided by Adam Netocny, icluding some skin jar builder enhancements + javadocs.
Diffstat (limited to 'src/net/java/sip/communicator/impl/resources/ResourceManagementServiceImpl.java')
-rw-r--r-- | src/net/java/sip/communicator/impl/resources/ResourceManagementServiceImpl.java | 48 |
1 files changed, 47 insertions, 1 deletions
diff --git a/src/net/java/sip/communicator/impl/resources/ResourceManagementServiceImpl.java b/src/net/java/sip/communicator/impl/resources/ResourceManagementServiceImpl.java index 51cb586..7908e54 100644 --- a/src/net/java/sip/communicator/impl/resources/ResourceManagementServiceImpl.java +++ b/src/net/java/sip/communicator/impl/resources/ResourceManagementServiceImpl.java @@ -25,7 +25,7 @@ import org.osgi.framework.*; * @author Damian Minkov * @author Yana Stamcheva * @author Lubomir Marinov - * @author Adam Netocny, CircleTech, s.r.o. + * @author Adam Netocny */ public class ResourceManagementServiceImpl implements ResourceManagementService, @@ -34,13 +34,34 @@ public class ResourceManagementServiceImpl private static Logger logger = Logger.getLogger(ResourceManagementServiceImpl.class); + /** + * Resources for currently loaded <tt>ColorPack</tt>. + */ private Map<String, String> colorResources; + + /** + * Currently loaded color pack. + */ private ResourcePack colorPack = null; + /** + * Resources for currently loaded <tt>ImagePack</tt>. + */ private Map<String, String> imageResources; + + /** + * Currently loaded image pack. + */ private ResourcePack imagePack = null; + /** + * Resources for currently loaded <tt>LanguagePack</tt>. + */ private Map<String, String> languageResources; + + /** + * Currently loaded language pack. + */ private LanguagePack languagePack = null; /** @@ -50,13 +71,34 @@ public class ResourceManagementServiceImpl */ private Locale languageLocale; + /** + * Resources for currently loaded <tt>SettingsPack</tt>. + */ private Map<String, String> settingsResources; + + /** + * Currently loaded settings pack. + */ private ResourcePack settingsPack = null; + /** + * Resources for currently loaded <tt>SoundPack</tt>. + */ private Map<String, String> soundResources; + + /** + * Currently loaded sound pack. + */ private ResourcePack soundPack = null; + /** + * Resources for currently loaded <tt>SkinPack</tt>. + */ private Map<String, String> skinResources; + + /** + * Currently loaded <tt>SkinPack</tt>. + */ private SkinPack skinPack = null; /** @@ -125,6 +167,7 @@ public class ResourceManagementServiceImpl /** * Searches for the <tt>ResourcePack</tt> corresponding to the given * <tt>className</tt> and <tt></tt>. + * * @param className The name of the resource class. * @param typeName The name of the type we're looking for. * For example: RESOURCE_NAME_DEFAULT_VALUE @@ -176,6 +219,8 @@ public class ResourceManagementServiceImpl /** * Handles all <tt>ServiceEvent</tt>s corresponding to <tt>ResourcePack</tt> * being registered or unregistered. + * + * @param event the <tt>ServiceEvent</tt> that notified us */ public void serviceChanged(ServiceEvent event) { @@ -760,6 +805,7 @@ public class ResourceManagementServiceImpl /** * Builds a new skin bundle from the zip file content. + * * @param zipFile Zip file with skin information. * @return <tt>File</tt> for the bundle. * @throws Exception When something goes wrong. |