接口 GrepTool.FileProcessor

封闭类:
GrepTool
函数接口:
这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。

Functional interface for file processing
  • 方法概要

    修饰符和类型
    方法
    说明
    boolean
    process(Path file)
    Process a file
  • 方法详细资料

    • process

      boolean process(Path file)
      Process a file
      返回:
      true to continue processing, false to stop