Input files matching the given attributes. Return all the files if the parameter
attributes
is empty.
Important - result is an {@link java.lang.Iterable} to benefit from streaming and decreasingmemory consumption. It should be iterated only once, else copy it into a list : {@code com.google.common.collect.Lists.newArrayList(inputFiles(predicate))}
How to use :
FilePredicates p = fs.predicates(); Iterable files = fs.inputFiles(p.and(p.hasLanguage("java"), p.hasType(InputFile.Type.MAIN)));
@see #predicates()