fr.imag.adele.bundle.util.impl
Class Util

java.lang.Object
  extended byfr.imag.adele.bundle.util.impl.Util

public class Util
extends java.lang.Object

This class helps to list services

Version:
1.00 22/03/2003
Author:
Didier Donsez (Didier.Donsez@ieee.org)

Constructor Summary
Util()
           
 
Method Summary
static java.lang.StringBuffer listDictionary(java.util.Dictionary dictionary, java.lang.String prefix)
          list a dictionary
static void listServices(java.io.PrintStream out, org.osgi.framework.BundleContext bundleContext, java.lang.String interfaceName, java.lang.String filterStr)
          list a subset of services and their properties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Util

public Util()
Method Detail

listServices

public static void listServices(java.io.PrintStream out,
                                org.osgi.framework.BundleContext bundleContext,
                                java.lang.String interfaceName,
                                java.lang.String filterStr)
                         throws java.lang.Exception
list a subset of services and their properties

Throws:
java.lang.Exception

listDictionary

public static java.lang.StringBuffer listDictionary(java.util.Dictionary dictionary,
                                                    java.lang.String prefix)
list a dictionary

Parameters:
dictionary -
Returns:
a StringBuffer containing the string to print