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