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, toString
public DirectoryClassPathEntry(File dir)
dir
- an absolute directorypublic List<Map<AbstractResource,PathPrefix>> findApplicableResources(TreeLogger logger, List<PathPrefixSet> pathPrefixSets)
ClassPathEntry
findApplicableResources
in class ClassPathEntry
ClassPathEntry.findApplicableResources(TreeLogger, PathPrefixSet)
public Map<AbstractResource,PathPrefix> findApplicableResources(TreeLogger logger, PathPrefixSet pathPrefixSet)
ClassPathEntry
findApplicableResources
in class ClassPathEntry
public String getLocation()
ClassPathEntry
getLocation
in class ClassPathEntry
Copyright © 2018. All rights reserved.