Interface JavaResourceTree
- All Superinterfaces:
CodeContribution, FileTree<ResourceFile>, InputTree<ResourceFile>, Resource, Resources<ResourceFile>
- All Known Implementing Classes:
DefaultJavaResourceTree
A
FileTree that consists of ResourceFiles and can be used in
a Java classpath.-
Nested Class Summary
Nested classes/interfaces inherited from interface InputTree
InputTree.Entry<T> -
Method Summary
Methods inherited from interface CodeContribution
moduleName, toPathMethods inherited from interface Resource
asOfLocalized, isNewerThan, name, type
-
Method Details
-
isModular
Description copied from interface:CodeContributionChecks whether this code contribution is modular. This works for both JAR files and directories. Both are considered as modular if they contain amodule-info.class. JARs are also considered as modular if they have anAutomatic-Module-Nameset in theirMANIFEST.MF.- Specified by:
isModularin interfaceCodeContribution- Returns:
- true, if the contribution is modular
-
of
Creates a new Java resource tree from the given values.- Parameters:
project- the projectdirectory- the directorypattern- the pattern- Returns:
- the java resource tree
-