Top Description Methods
com.github.javaparser.utils

public Interface CollectionStrategy

Known Direct Implementers
com.github.javaparser.utils.ParserCollectionStrategy
Imports
com.github.javaparser.ParseProblemException, com.github.javaparser.ast.CompilationUnit, java.io.FileNotFoundException, java.nio.file.FileSystems, .Path, .PathMatcher, java.util.Optional

A strategy for discovering the structure of a project. Implementations could read a pom.xml, a Gradle build file, a makefile...

Method Summary

Modifier and TypeMethod and Description
public ProjectRoot
collect(Path path)

public default PathMatcher
public default Optional<Path>
getRoot(Path file)

Method Detail

collectback to summary
public ProjectRoot collect(Path path)
getPathMatcherback to summary
public default PathMatcher getPathMatcher(String pattern)
getRootback to summary
public default Optional<Path> getRoot(Path file) throws FileNotFoundException