org.apache.aries.web.converter.impl
Class ClassPathBuilder

java.lang.Object
  extended by org.apache.aries.web.converter.impl.ClassPathBuilder

public class ClassPathBuilder
extends Object


Constructor Summary
ClassPathBuilder(Map<String,Manifest> manifests)
          This class takes a map of pairs which are contained in a particular jar file.
 
Method Summary
 ArrayList<String> updatePath(String jarFile, ArrayList<String> classPath)
          We take a full qualified jar file name and search its manifest for any other classpath dependencies within the other manifest in the parent jar file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassPathBuilder

public ClassPathBuilder(Map<String,Manifest> manifests)
This class takes a map of pairs which are contained in a particular jar file. The updatePath method then uses this list to analyse the contents of the manifests and looks for any dependencies in the other manifests in the jar.

Parameters:
manifests -
Method Detail

updatePath

public ArrayList<String> updatePath(String jarFile,
                                    ArrayList<String> classPath)
                             throws IOException
We take a full qualified jar file name and search its manifest for any other classpath dependencies within the other manifest in the parent jar file.

Parameters:
jarFile -
classPath -
Returns:
Throws:
IOException


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