org.netbeans.modules.java.api.common/0 1.37

org.netbeans.modules.java.api.common.classpath
Class ClassPathSupportFactory

java.lang.Object
  extended by org.netbeans.modules.java.api.common.classpath.ClassPathSupportFactory

public final class ClassPathSupportFactory
extends Object

Support class for creating different types of classpath related implementations.

Since:
org.netbeans.modules.java.api.common/1 1.5

Method Summary
static ClassPathImplementation createBootClassPathImplementation(PropertyEvaluator evaluator)
          Creates implementation of BOOT classpath based on project's platform.active property.
static ClassPathImplementation createBootClassPathImplementation(PropertyEvaluator evaluator, ClassPath endorsedClassPath)
          Creates implementation of BOOT classpath based on project's platform.active property and given endorsed classpath which will have precedence of platform classpath.
static ClassPathImplementation createSourcePathImplementation(SourceRoots sourceRoots, AntProjectHelper projectHelper, PropertyEvaluator evaluator)
          Creates implementation of SOURCE classpath for given source roots and project assuming build classes folder is stored in property build.dir.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createBootClassPathImplementation

public static ClassPathImplementation createBootClassPathImplementation(PropertyEvaluator evaluator)
Creates implementation of BOOT classpath based on project's platform.active property.

Parameters:
evaluator - project's property evaluator
Returns:
classpath implementation

createBootClassPathImplementation

public static ClassPathImplementation createBootClassPathImplementation(PropertyEvaluator evaluator,
                                                                        ClassPath endorsedClassPath)
Creates implementation of BOOT classpath based on project's platform.active property and given endorsed classpath which will have precedence of platform classpath.

Parameters:
evaluator - project's property evaluator
endorsedClassPath - endorsed classpath to prepend to boot classpath
Returns:
classpath implementation
Since:
org.netbeans.modules.java.api.common/0 1.11

createSourcePathImplementation

public static ClassPathImplementation createSourcePathImplementation(SourceRoots sourceRoots,
                                                                     AntProjectHelper projectHelper,
                                                                     PropertyEvaluator evaluator)
Creates implementation of SOURCE classpath for given source roots and project assuming build classes folder is stored in property build.dir.

Parameters:
sourceRoots - project source roots
projectHelper - AntProjectHelper
evaluator - PropertyEvaluator
Returns:
classpath implementation

org.netbeans.modules.java.api.common/0 1.37

Built on May 22 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.