Class FileStreamer


  • public class FileStreamer
    extends java.lang.Object
    FileStreamer is utility class that will (optionally) recurse through all directories and feed a Java Stream of useful directory walking detail (disk, directory, file, and the textual path to get there).

    Sample usage:

     FileStreamer.forDisk(image)
                 .ignoreErrors(true)
                 .stream()
                 .filter(this::fileFilter)
                 .forEach(fileHandler);