Module cloud.opencode.base.io


module cloud.opencode.base.io
OpenCode Base IO Module OpenCode 基础 IO 模块

Provides file I/O utilities based on NIO.2 API with unchecked exceptions.

提供基于 NIO.2 API 的文件 I/O 工具,使用非受检异常。

Key Features | 主要功能:

  • File and directory operations - 文件和目录操作
  • Resource loading (classpath/file/URL) - 资源加载
  • Stream processing utilities - 流处理工具
  • Checksum calculation - 校验和计算
  • Temporary file management - 临时文件管理
  • File watching - 文件监听
  • MIME type detection - MIME 类型检测
  • Batch/parallel operations - 批量/并行操作
  • File locking utilities - 文件锁定工具
  • Gzip/Zip compression - Gzip/Zip 压缩 (V1.0.3)
  • Hex dump formatting - 十六进制转储 (V1.0.3)
  • Stream adapters (Reader↔InputStream) - 流适配器 (V1.0.3)
  • Tail reader and line processor - 尾部读取与行处理 (V1.0.3)
  • File-backed output stream - 文件后备输出流 (V1.0.3)
Since:
JDK 25, opencode-base-io V1.0.0
Author:
Leon Soo