public class SourcePath extends Object implements SinglePathResolver
Modifier and Type | Class and Description |
---|---|
static class |
SourcePathBase.ClasspathOverlap |
static class |
SourcePathBase.MoreThanOneComponentOfTheSameName |
Modifier and Type | Field and Description |
---|---|
protected boolean |
allowSourcePathOverlap |
protected List<File> |
directories |
protected HashMap<String,String> |
dirs |
protected Set<String> |
hits |
protected String[] |
mimeTypes |
protected Set<String> |
misses |
protected static String |
NO_DIR |
protected Map<String,Source> |
sources |
protected List<SourcePathBase.ClasspathOverlap> |
warnings |
Constructor and Description |
---|
SourcePath(String[] mimeTypes,
boolean allowSourcePathOverlap) |
SourcePath(VirtualFile[] classPath,
VirtualFile appPath,
String[] mimeTypes,
boolean allowSourcePathOverlap) |
Modifier and Type | Method and Description |
---|---|
void |
addPathElements(VirtualFile[] classPath) |
VirtualFile |
resolve(String path)
Resolves paths with a leading slash and relative to a Source
Path directory.
|
protected static final String NO_DIR
protected final String[] mimeTypes
protected boolean allowSourcePathOverlap
protected final List<SourcePathBase.ClasspathOverlap> warnings
public SourcePath(VirtualFile[] classPath, VirtualFile appPath, String[] mimeTypes, boolean allowSourcePathOverlap)
public SourcePath(String[] mimeTypes, boolean allowSourcePathOverlap)
public void addPathElements(VirtualFile[] classPath)
public VirtualFile resolve(String path)
resolve
in interface SinglePathResolver
Copyright © 2016 The Apache Software Foundation. All rights reserved.