Uses of Class
eu.simuline.util.PathFinder.Filter
-
Packages that use PathFinder.Filter Package Description eu.simuline.util Utility classes: very inhomogeneous. -
-
Uses of PathFinder.Filter in eu.simuline.util
Subclasses of PathFinder.Filter in eu.simuline.util Modifier and Type Class Description (package private) static classPathFinder.AndFilterOne of the logical operations of filters: Returns a filter which passes a path iff all original filters inPathFinder.AndFilter.filtersdo so.(package private) static classPathFinder.ExecFilterFilter executing a shell command and passes the path received if the shell command succeeds according to its return code.(package private) static classPathFinder.ExecJavaFilterFilter executing a java class implementingPathFinder.Callablewhich passes the path received if the methodPathFinder.Callable.call(Path)succeeds according to its return code.(package private) static classPathFinder.NameFilterFilters paths by name.(package private) static classPathFinder.NegFilterOne of the logical operations of filters: Returns a filter which passes a path iff the original filterPathFinder.NegFilter.tbNegFilterdoes not.(package private) static classPathFinder.OrFilterOne of the logical operations of filters: Returns a filter which passes a path iff at least one of the original filters inPathFinder.OrFilter.filtersdo so.Fields in eu.simuline.util declared as PathFinder.Filter Modifier and Type Field Description static PathFinder.FilterPathFinder. CAN_EXECFilter passing the path received iff it is executable.static PathFinder.FilterPathFinder. CAN_READFilter passing the path received iff it is readable.static PathFinder.FilterPathFinder. CAN_WRITEFilter passing the path received iff it is writable.static PathFinder.FilterPathFinder. FALSEA filter passing no path.private PathFinder.FilterPathFinder.Secondary. filterThe filter to be passed before a path is returned byPathFinder.Secondary.next().private PathFinder.Filter[]PathFinder.AndFilter. filtersThis filter passes a path iff all of these pass if invoked in the natural ordering.private PathFinder.Filter[]PathFinder.OrFilter. filtersThis filter passes a path iff at least one of of these passes if invoked in the natural ordering.static PathFinder.FilterPathFinder. IS_DIRFilter passing the path received iff it is a regular path.static PathFinder.FilterPathFinder. IS_PATHFilter passing the path received iff it is a regular path.private PathFinder.FilterPathFinder.NegFilter. tbNegFilterThe filter to be negated.static PathFinder.FilterPathFinder. TRUEA filter passing all paths.Methods in eu.simuline.util that return PathFinder.Filter Modifier and Type Method Description (package private) static PathFinder.FilterPathFinder.Filter. and(PathFinder.Filter[] filters)Returns a filter which passes a path iff so do all filters infilters.static PathFinder.FilterPathFinder. execFilter(String[] cmd)Returns a filter invoking a shell command: just passes the paths received by this finder further if the command succeeds according to its return value.static PathFinder.FilterPathFinder. execJavaFilter(PathFinder.Callable callable)Returns a filter invoking methodPathFinder.Callable.call(Path)of the givencallable.static PathFinder.FilterPathFinder. nameFilter(String pattern)Returns a filter passing a path iff its (short) names of which match the regular expressionpattern.(package private) PathFinder.FilterPathFinder.Filter. not()Returns a filter which passes a path ifffilterdoes not.(package private) static PathFinder.FilterPathFinder.Filter. or(PathFinder.Filter[] filters)Returns a filter which passes a path iff at least one filter infiltersdoes so.Methods in eu.simuline.util with parameters of type PathFinder.Filter 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.(package private) static PathFinder.FilterPathFinder.Filter. and(PathFinder.Filter[] filters)Returns a filter which passes a path iff so do all filters infilters.PathFinderPathFinder. not(PathFinder.Filter filter)Convenience method: Returns a finder by attaching the inverse of the given filter.(package private) static PathFinder.FilterPathFinder.Filter. or(PathFinder.Filter[] filters)Returns a filter which passes a path iff at least one filter infiltersdoes so.PathFinderPathFinder. or(PathFinder.Filter[] filters)Convenience method: Returns a finder by attaching an or-filter.Constructors in eu.simuline.util with parameters of type PathFinder.Filter Constructor Description AndFilter(PathFinder.Filter[] filters)NegFilter(PathFinder.Filter tbNegFilter)OrFilter(PathFinder.Filter[] filters)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.
-