Uses of Class
eu.simuline.util.PathFinder
-
Packages that use PathFinder Package Description eu.simuline.util Utility classes: very inhomogeneous. -
-
Uses of PathFinder in eu.simuline.util
Subclasses of PathFinder in eu.simuline.util Modifier and Type Class Description (package private) static classPathFinder.PrimaryThe most basic kind of finder: Methodpath(Path)returns an instance of this.(package private) classPathFinder.PrintFilterA filter passing all information and printing it onPathFinder.PrintFilter.str.(package private) static classPathFinder.SecondaryA finder wrapping aPathFinder.Filter.Fields in eu.simuline.util declared as PathFinder Modifier and Type Field Description private PathFinderPathFinder.Secondary. enclThe source finder from which the stream of paths is read. **** this is superfluous if this is not staticMethods in eu.simuline.util that return PathFinder Modifier and Type Method Description PathFinderPathFinder. add(PathFinder.Filter filter)Returns a finder by attachig the given filter.PathFinderPathFinder. and(PathFinder.Filter[] filters)Convenience method: Returns a finder by attaching an and-filter.PathFinderPathFinder. exec(String[] cmd)Convenience method: adds an execution filter to this finder.PathFinderPathFinder. execJava(PathFinder.Callable callable)Convenience method: adds a java execution filter to this finder.PathFinderPathFinder. name(String pattern)Convenience method: adds a name filter to this finder.PathFinderPathFinder. not(PathFinder.Filter filter)Convenience method: Returns a finder by attaching the inverse of the given filter.PathFinderPathFinder. or(PathFinder.Filter[] filters)Convenience method: Returns a finder by attaching an or-filter.static PathFinderPathFinder. path(Path path)Returns a basic finder, emitting the given path if it exists and is accessible and, recursively, if it is a directory all paths therein.PathFinderPathFinder. print(PrintStream str)Adds a trivial filter passing all paths received by this finder printing their full names tostr.Constructors in eu.simuline.util with parameters of type PathFinder Constructor Description PrintFilter(PathFinder encl, PrintStream str)Secondary(PathFinder encl, PathFinder.Filter filter)Create a finder receiving a stream of paths fromencland passing them further viaPathFinder.Secondary.next()if they pass the filterfilter.
-