public class EclipseClasspathContainerResolver extends AContainerResolver
SYS_PROP_CONTAINER_ROOT_DIR
Constructor and Description |
---|
EclipseClasspathContainerResolver(IClassSpaceBuilder classSpaceBuilder) |
Modifier and Type | Method and Description |
---|---|
protected void |
addContainersFromEclipseProject(java.lang.String workspaceDir,
java.lang.String classpathFilename) |
protected ClassContainer |
createClassContainer(java.lang.String containerName) |
protected ContainerType |
getContainerType(java.io.File file) |
boolean |
resolveContainers(ClasspathPartDefinition partDefinition,
java.io.File file)
Resolve all containers that are specified by the given classpath
part definition or file.
|
addContainerToClassSpace, appContext, asAbsoluteFile, coll, fileUtil, findOrCreateContainer, getClassSpaceBuilder, getDefinitionFrom, getLogger, getWorkset, setClassSpaceBuilder, str
public EclipseClasspathContainerResolver(IClassSpaceBuilder classSpaceBuilder)
public boolean resolveContainers(ClasspathPartDefinition partDefinition, java.io.File file)
IContainerResolver
Either partDefinition
or containerFile
must be provided.
partDefinition
- The classpath definition that refers to the container(s) (may be null).file
- An explicit file that must be resolved (may be null).protected void addContainersFromEclipseProject(java.lang.String workspaceDir, java.lang.String classpathFilename)
protected ClassContainer createClassContainer(java.lang.String containerName)
protected ContainerType getContainerType(java.io.File file)