类 GlobTool

java.lang.Object
com.agentsflex.tool.commons.GlobTool

public class GlobTool extends Object
Pure Java glob implementation that doesn't require external tools. Uses Java NIO.2 for file pattern matching and traversal.

Generated with Claude Code AI assistant.

作者:
Christian Tzolov, Claude Code, Michael Yang
  • 字段详细资料

  • 构造器详细资料

    • GlobTool

      protected GlobTool(int maxDepth, int maxResults, Path workingDirectory)
      Constructor with configurable parameters.
      参数:
      maxDepth - Maximum directory traversal depth to prevent infinite recursion (default: 100)
      maxResults - Maximum number of results to return (default: 1000)
      workingDirectory - The working directory to use when path is not specified. If null, defaults to current JVM working directory.
  • 方法详细资料