Interface OpenBatch.PathAction

Enclosing class:
OpenBatch
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface OpenBatch.PathAction
Path action interface 路径操作接口
Since:
JDK 25, opencode-base-io V1.0.0
Author:
Leon Soo www.LeonSoo.com
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    execute(Path path)
    Execute action on path 在路径上执行操作
  • Method Details

    • execute

      void execute(Path path) throws Exception
      Execute action on path 在路径上执行操作
      Parameters:
      path - the path | 路径
      Throws:
      Exception - if operation fails | 如果操作失败