Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.plugin.defaultresourcepack
Class DefaultResourcePackActivator

java.lang.Object
  extended by net.java.sip.communicator.plugin.defaultresourcepack.DefaultResourcePackActivator
All Implemented Interfaces:
org.osgi.framework.BundleActivator

public class DefaultResourcePackActivator
extends Object
implements org.osgi.framework.BundleActivator

Author:
damencho

Field Summary
(package private) static org.osgi.framework.BundleContext bundleContext
           
 
Constructor Summary
DefaultResourcePackActivator()
           
 
Method Summary
protected static Iterator<String> findResourcePaths(String path, String pattern)
          Finds all properties files for the given path in this bundle.
 void start(org.osgi.framework.BundleContext bc)
           
 void stop(org.osgi.framework.BundleContext bc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bundleContext

static org.osgi.framework.BundleContext bundleContext
Constructor Detail

DefaultResourcePackActivator

public DefaultResourcePackActivator()
Method Detail

start

public void start(org.osgi.framework.BundleContext bc)
           throws Exception
Specified by:
start in interface org.osgi.framework.BundleActivator
Throws:
Exception

stop

public void stop(org.osgi.framework.BundleContext bc)
          throws Exception
Specified by:
stop in interface org.osgi.framework.BundleActivator
Throws:
Exception

findResourcePaths

protected static Iterator<String> findResourcePaths(String path,
                                                    String pattern)
Finds all properties files for the given path in this bundle.

Parameters:
path - the path pointing to the properties files.

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.