Package com.github.javaparser.utils
Interface CollectionStrategy
-
- All Known Implementing Classes:
ParserCollectionStrategy
public interface CollectionStrategy
A strategy for discovering the structure of a project. Implementations could read a pom.xml, a Gradle build file, a makefile...
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ProjectRoot
collect(Path path)
default PathMatcher
getPathMatcher(String pattern)
default Optional<Path>
getRoot(Path file)
-
-
-
Method Detail
-
collect
ProjectRoot collect(Path path)
-
getRoot
default Optional<Path> getRoot(Path file) throws FileNotFoundException
- Throws:
FileNotFoundException
-
getPathMatcher
default PathMatcher getPathMatcher(String pattern)
-
-