org.eclipse.osgi.internal.baseadaptor
Class DevClassPathHelper

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

public final class DevClassPathHelper
extends java.lang.Object

This class provides helper methods to support developement classpaths.

Since:
3.1

Constructor Summary
DevClassPathHelper()
           
 
Method Summary
static java.lang.String[] getArrayFromList(java.lang.String prop)
          Returns the result of converting a list of comma-separated tokens into an array
static java.lang.String[] getDevClassPath(java.lang.String id)
          Returns a list of classpath elements for the specified bundle symbolic name.
static java.lang.String[] getDevClassPath(java.lang.String id, java.util.Dictionary 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 java.lang.String[] getDevClassPath(java.lang.String id,
                                                 java.util.Dictionary 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 java.lang.String[] getDevClassPath(java.lang.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 java.lang.String[] getArrayFromList(java.lang.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-2012 FuseSource, Corp.. All Rights Reserved.