org.apache.cactus.eclipse.runner.common
Class LibraryHelper

java.lang.Object
  extended by org.apache.cactus.eclipse.runner.common.LibraryHelper

public class LibraryHelper
extends java.lang.Object

Helper class for library access.

Version:
$Id: LibraryHelper.java 238816 2004-02-29 16:36:46Z vmassol $

Constructor Summary
LibraryHelper()
           
 
Method Summary
static org.eclipse.jdt.core.IClasspathEntry[] concatenateEntries(org.eclipse.jdt.core.IClasspathEntry[] theArray1, org.eclipse.jdt.core.IClasspathEntry[] theArray2)
          Concatenate two IClasspathEntry arrays.
static org.eclipse.jdt.core.IClasspathEntry[] getClientEntries()
           
static org.eclipse.jdt.core.IClasspathEntry[] getClientSideEntries()
           
static org.eclipse.jdt.core.IClasspathEntry[] getCommonEntries()
           
static org.eclipse.jdt.core.IClasspathEntry getIClasspathEntry(org.eclipse.core.runtime.IPath thePath)
           
static org.eclipse.jdt.core.IClasspathEntry getIClasspathEntry(java.lang.String thePath)
           
static org.eclipse.core.runtime.IPath getLibPath()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LibraryHelper

public LibraryHelper()
Method Detail

getClientEntries

public static org.eclipse.jdt.core.IClasspathEntry[] getClientEntries()
Returns:
an array of IClasspathEntry contained in the client dir

getCommonEntries

public static org.eclipse.jdt.core.IClasspathEntry[] getCommonEntries()
Returns:
an array of IClasspathEntry contained in the common dir

getClientSideEntries

public static org.eclipse.jdt.core.IClasspathEntry[] getClientSideEntries()
Returns:
an array of IClasspathEntry contained in the common dir

concatenateEntries

public static org.eclipse.jdt.core.IClasspathEntry[] concatenateEntries(org.eclipse.jdt.core.IClasspathEntry[] theArray1,
                                                                        org.eclipse.jdt.core.IClasspathEntry[] theArray2)
Concatenate two IClasspathEntry arrays.

Parameters:
theArray1 - the first array
theArray2 - the second array
Returns:
an IClasspathEntry array containing the first array followed by the second one

getLibPath

public static org.eclipse.core.runtime.IPath getLibPath()
Returns:
the path to the library directory

getIClasspathEntry

public static org.eclipse.jdt.core.IClasspathEntry getIClasspathEntry(org.eclipse.core.runtime.IPath thePath)
Parameters:
thePath - path to convert to an IClasspathEntry
Returns:
the IClasspathEntry built from the given path

getIClasspathEntry

public static org.eclipse.jdt.core.IClasspathEntry getIClasspathEntry(java.lang.String thePath)
Parameters:
thePath - path to convert to an IClasspathEntry
Returns:
the IClasspathEntry built from the given path


Copyright © 2001-2009 The Apache Software Foundation. All Rights Reserved.