
public class DirectoryClassPathEntry extends ClassPathEntry
ClassPathEntry for a directory on the file system.| Constructor and Description |
|---|
DirectoryClassPathEntry(File dir) |
| Modifier and Type | Method and Description |
|---|---|
List<Map<AbstractResource,PathPrefix>> |
findApplicableResources(TreeLogger logger,
List<PathPrefixSet> pathPrefixSets)
Finds applicable resources for a list of pathPrefixSets, returning a
distinct answer for each set.
|
Map<AbstractResource,PathPrefix> |
findApplicableResources(TreeLogger logger,
PathPrefixSet pathPrefixSet)
Finds every resource at abstract path P within this classpath such that P
begins with a prefix X from the path prefix set and P is allowed by the
filter associated with X.
|
String |
getLocation()
Gets a URL string that describes this class path entry.
|
equals, hashCode, toStringpublic DirectoryClassPathEntry(File dir)
dir - an absolute directorypublic List<Map<AbstractResource,PathPrefix>> findApplicableResources(TreeLogger logger, List<PathPrefixSet> pathPrefixSets)
ClassPathEntryfindApplicableResources in class ClassPathEntryClassPathEntry.findApplicableResources(TreeLogger, PathPrefixSet)public Map<AbstractResource,PathPrefix> findApplicableResources(TreeLogger logger, PathPrefixSet pathPrefixSet)
ClassPathEntryfindApplicableResources in class ClassPathEntrypublic String getLocation()
ClassPathEntrygetLocation in class ClassPathEntryCopyright © 2018. All rights reserved.