org.eclipse.osgi.internal.baseadaptor
Class DevClassPathHelper

java.lang.Object
  extended by org.eclipse.osgi.internal.baseadaptor.DevClassPathHelper

public final class DevClassPathHelper
extends Object

This class provides helper methods to support developement classpaths.

Since:
3.1

Constructor Summary
DevClassPathHelper()
           
 
Method Summary
static String[] getArrayFromList(String prop)
          Returns the result of converting a list of comma-separated tokens into an array
static String[] getDevClassPath(String id)
          Returns a list of classpath elements for the specified bundle symbolic name.
static String[] getDevClassPath(String id, Dictionary<String,String> properties)
          Returns a list of classpath elements for the specified bundle symbolic name.
static boolean inDevelopmentMode()
          Indicates the development mode.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DevClassPathHelper

public DevClassPathHelper()
Method Detail

getDevClassPath

public static String[] getDevClassPath(String id,
                                       Dictionary<String,String> properties)
Returns a list of classpath elements for the specified bundle symbolic name.

Parameters:
id - a bundle symbolic name to get the development classpath for
properties - a Dictionary of properties to use or null if the default develoment classpath properties should be used
Returns:
a list of development classpath elements

getDevClassPath

public static String[] getDevClassPath(String id)
Returns a list of classpath elements for the specified bundle symbolic name.

Parameters:
id - a bundle symbolic name to get the development classpath for
Returns:
a list of development classpath elements

getArrayFromList

public static String[] getArrayFromList(String prop)
Returns the result of converting a list of comma-separated tokens into an array

Parameters:
prop - the initial comma-separated string
Returns:
the array of string tokens

inDevelopmentMode

public static boolean inDevelopmentMode()
Indicates the development mode.

Returns:
true if in development mode; false otherwise


Copyright © 2007–2014 The Apache Software Foundation. All rights reserved.