Class Finder.PrintFilter

  • Enclosing class:
    Finder

    class Finder.PrintFilter
    extends Finder.Secondary
    A filter passing all information and printing it on str.
    • Field Detail

      • str

        private final java.io.PrintStream str
      • idx

        private int idx
    • Constructor Detail

      • PrintFilter

        PrintFilter​(Finder encl,
                    java.io.PrintStream str)
    • Method Detail

      • next

        public java.io.File next()
        Description copied from class: Finder
        Returns the next file this finder can emit. This does not throw an exception iff Finder.hasNext() returns true.
        Overrides:
        next in class Finder.Secondary