Index

A B C D E F G H I J K L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

actionVisitor(Consumer) - Static method in class cloud.opencode.base.io.OpenFileVisitors
Creates an action visitor that performs an action on each file 创建对每个文件执行操作的操作访问器
added() - Method in record class cloud.opencode.base.io.file.FileComparator.LineDiff
Returns the value of the added record component.
algorithm() - Method in record class cloud.opencode.base.io.checksum.Checksum
Returns the value of the algorithm record component.
append() - Method in class cloud.opencode.base.io.file.FileWriter
Enables append mode 启用追加模式
append(boolean) - Method in class cloud.opencode.base.io.file.FileWriter
Sets append mode 设置追加模式
append(Path, CharSequence) - Static method in class cloud.opencode.base.io.OpenIO
Appends content to file 追加内容到文件
appendLines(Path, Iterable) - Static method in class cloud.opencode.base.io.OpenIO
Appends lines to file 追加行到文件
APPLICATION_JSON - Static variable in class cloud.opencode.base.io.OpenMimeType
Common JSON MIME type 常见 JSON MIME 类型
APPLICATION_OCTET_STREAM - Static variable in class cloud.opencode.base.io.OpenMimeType
Default MIME type for unknown content 未知内容的默认 MIME 类型
APPLICATION_PDF - Static variable in class cloud.opencode.base.io.OpenMimeType
Common PDF MIME type 常见 PDF MIME 类型
APPLICATION_XML - Static variable in class cloud.opencode.base.io.OpenMimeType
Common XML MIME type 常见 XML MIME 类型
asBufferedReader() - Method in class cloud.opencode.base.io.file.FileReader
Gets a buffered reader 获取缓冲读取器
asBufferedWriter() - Method in class cloud.opencode.base.io.file.FileWriter
Gets a buffered writer 获取缓冲写入器
asBytes() - Method in class cloud.opencode.base.io.file.FileReader
Reads file as byte array 读取文件为字节数组
asInputStream() - Method in class cloud.opencode.base.io.file.FileReader
Gets an input stream 获取输入流
asLines() - Method in class cloud.opencode.base.io.file.FileReader
Reads file as list of lines 读取文件为行列表
asLineStream() - Method in class cloud.opencode.base.io.file.FileReader
Reads file as stream of lines 读取文件为行流
asOutputStream() - Method in class cloud.opencode.base.io.file.FileWriter
Gets an output stream 获取输出流
asString() - Method in class cloud.opencode.base.io.file.FileReader
Reads file as string 读取文件为字符串
AutoDeleteTempFile - Class in cloud.opencode.base.io.temp
Auto Delete Temp File 自动删除临时文件
available() - Method in class cloud.opencode.base.io.stream.BoundedInputStream
 

B

BatchResult - Record Class in cloud.opencode.base.io.batch
Batch Operation Result 批量操作结果
BatchResult(String, int, int, int, int, Map, Instant, Instant) - Constructor for record class cloud.opencode.base.io.batch.BatchResult
Creates an instance of a BatchResult record class.
BatchResult.Builder - Class in cloud.opencode.base.io.batch
BatchResult Builder 批量结果构建器
BoundedInputStream - Class in cloud.opencode.base.io.stream
Bounded Input Stream 限制大小输入流
BoundedInputStream(InputStream, long) - Constructor for class cloud.opencode.base.io.stream.BoundedInputStream
Creates a bounded input stream 创建限制大小输入流
BoundedInputStream(InputStream, long, boolean) - Constructor for class cloud.opencode.base.io.stream.BoundedInputStream
Creates a bounded input stream with exception option 创建带异常选项的限制大小输入流
buffer(InputStream) - Static method in class cloud.opencode.base.io.OpenStream
Wraps as buffered input stream 包装为缓冲输入流
buffer(OutputStream) - Static method in class cloud.opencode.base.io.OpenStream
Wraps as buffered output stream 包装为缓冲输出流
build() - Method in class cloud.opencode.base.io.batch.BatchResult.Builder
Build the result 构建结果
builder() - Static method in class cloud.opencode.base.io.file.ChunkedFileProcessor
Creates a new builder.
builder(String) - Static method in record class cloud.opencode.base.io.batch.BatchResult
Create a builder 创建构建器
Builder(String) - Constructor for class cloud.opencode.base.io.batch.BatchResult.Builder
 
bytes() - Method in record class cloud.opencode.base.io.checksum.Checksum
Gets a copy of the checksum bytes 获取校验和字节的副本
bytes() - Method in record class cloud.opencode.base.io.file.ChunkedFileProcessor.Chunk
Gets the actual data as a trimmed byte array.
bytesUploaded() - Method in record class cloud.opencode.base.io.progress.UploadProgress
Returns the value of the bytesUploaded record component.

C

calculate(InputStream, String) - Static method in class cloud.opencode.base.io.checksum.OpenChecksum
Calculates digest and returns Checksum object 计算摘要并返回Checksum对象
calculate(Path, String) - Static method in class cloud.opencode.base.io.checksum.OpenChecksum
Calculates digest and returns Checksum object 计算摘要并返回Checksum对象
changed() - Method in record class cloud.opencode.base.io.file.FileComparator.LineDiff
Returns the value of the changed record component.
changeExtension(Path, String) - Static method in class cloud.opencode.base.io.OpenPath
Changes file extension 更改文件扩展名
charset(Charset) - Method in class cloud.opencode.base.io.file.FileReader
Sets the charset 设置字符集
charset(Charset) - Method in class cloud.opencode.base.io.file.FileWriter
Sets the charset 设置字符集
Checksum - Record Class in cloud.opencode.base.io.checksum
Checksum Result 校验和结果
Checksum(String, byte[]) - Constructor for record class cloud.opencode.base.io.checksum.Checksum
Creates a checksum from bytes 从字节创建校验和
Checksum(String, byte[], String) - Constructor for record class cloud.opencode.base.io.checksum.Checksum
Compact constructor for validation 紧凑构造器用于验证
checksumFailed(String, Throwable) - Static method in exception class cloud.opencode.base.io.exception.OpenIOOperationException
Creates a checksum failed exception 创建校验和计算失败异常
Chunk(long, long, byte[], int, boolean) - Constructor for record class cloud.opencode.base.io.file.ChunkedFileProcessor.Chunk
Compact constructor - defensive copy of mutable byte array.
ChunkedFileProcessor - Class in cloud.opencode.base.io.file
Chunked File Processor - Memory-efficient large file processing 大文件分块处理器 - 内存高效的大文件处理
ChunkedFileProcessor.Builder - Class in cloud.opencode.base.io.file
Builder for ChunkedFileProcessor operations.
ChunkedFileProcessor.Chunk - Record Class in cloud.opencode.base.io.file
Represents a chunk of file data.
chunkSize(int) - Method in class cloud.opencode.base.io.file.ChunkedFileProcessor.Builder
Sets the chunk size.
CLASSPATH_PREFIX - Static variable in interface cloud.opencode.base.io.resource.ResourceLoader
Classpath prefix 类路径前缀
classPathResource(String) - Static method in class cloud.opencode.base.io.OpenResource
Creates a classpath resource 创建类路径资源
ClassPathResource - Class in cloud.opencode.base.io.resource
Classpath Resource Implementation 类路径资源实现
ClassPathResource(String) - Constructor for class cloud.opencode.base.io.resource.ClassPathResource
Creates a classpath resource with default classloader 使用默认类加载器创建类路径资源
ClassPathResource(String, ClassLoader) - Constructor for class cloud.opencode.base.io.resource.ClassPathResource
Creates a classpath resource with specific classloader 使用指定类加载器创建类路径资源
cleanupOldTempFiles(Path, Duration, String) - Static method in class cloud.opencode.base.io.temp.OpenTempFile
Cleans up old temporary files 清理过期临时文件
cleanupOldTempFiles(Duration, String) - Static method in class cloud.opencode.base.io.temp.OpenTempFile
Cleans up all files matching pattern in temp directory 清理临时目录中匹配模式的所有文件
close() - Method in class cloud.opencode.base.io.file.FileWatcher
 
close() - Method in class cloud.opencode.base.io.lock.OpenFileLock.FileLockHandle
 
close() - Method in class cloud.opencode.base.io.stream.TeeInputStream
 
close() - Method in class cloud.opencode.base.io.temp.AutoDeleteTempFile
 
closeQuietly(Closeable) - Static method in class cloud.opencode.base.io.OpenStream
Closes safely, ignoring exceptions 安全关闭,忽略异常
closeQuietly(Closeable...) - Static method in class cloud.opencode.base.io.OpenStream
Closes multiple closeables safely 安全关闭多个可关闭对象
cloud.opencode.base.io - module cloud.opencode.base.io
OpenCode Base IO Module OpenCode 基础 IO 模块
cloud.opencode.base.io - package cloud.opencode.base.io
 
cloud.opencode.base.io.batch - package cloud.opencode.base.io.batch
 
cloud.opencode.base.io.checksum - package cloud.opencode.base.io.checksum
 
cloud.opencode.base.io.exception - package cloud.opencode.base.io.exception
 
cloud.opencode.base.io.file - package cloud.opencode.base.io.file
 
cloud.opencode.base.io.lock - package cloud.opencode.base.io.lock
 
cloud.opencode.base.io.progress - package cloud.opencode.base.io.progress
 
cloud.opencode.base.io.resource - package cloud.opencode.base.io.resource
 
cloud.opencode.base.io.serialization - package cloud.opencode.base.io.serialization
 
cloud.opencode.base.io.stream - package cloud.opencode.base.io.stream
 
cloud.opencode.base.io.temp - package cloud.opencode.base.io.temp
 
collectByExtension(Path, String...) - Static method in class cloud.opencode.base.io.batch.OpenBatch
Collect files by extension 按扩展名收集文件
collectFiles(Path) - Static method in class cloud.opencode.base.io.batch.OpenBatch
Collect files from directory 从目录收集文件
collectGlob(Path, String) - Static method in class cloud.opencode.base.io.batch.OpenBatch
Collect files matching glob pattern 收集匹配 glob 模式的文件
common() - Method in record class cloud.opencode.base.io.file.FileComparator.DirectoryDiff
Returns the value of the common record component.
compareDirectories(Path, Path) - Static method in class cloud.opencode.base.io.file.FileComparator
Compares two directories.
compareDirectories(Path, Path, Predicate) - Static method in class cloud.opencode.base.io.file.FileComparator
Compares two directories with a filter.
completed(long) - Static method in class cloud.opencode.base.io.progress.DownloadProgress
Creates a completed progress.
computeHash(Path, String) - Static method in class cloud.opencode.base.io.file.FileComparator
Computes the hash of a file.
computeHashHex(Path, String) - Static method in class cloud.opencode.base.io.file.FileComparator
Computes the hash of a file as hexadecimal string.
content() - Method in record class cloud.opencode.base.io.file.FileComparator.LineEntry
Returns the value of the content record component.
contentEquals(InputStream, InputStream) - Static method in class cloud.opencode.base.io.OpenStream
Compares two input streams for content equality 比较两个输入流的内容是否相同
contentEquals(Reader, Reader) - Static method in class cloud.opencode.base.io.OpenStream
Compares two readers for content equality 比较两个Reader的内容是否相同
contentEquals(Path, Path) - Static method in class cloud.opencode.base.io.file.FileComparator
Compares two files byte-by-byte.
contentEquals(Path, Path) - Static method in class cloud.opencode.base.io.file.MoreFiles
Checks if two files have equal content.
contentLength() - Method in class cloud.opencode.base.io.resource.ClassPathResource
 
contentLength() - Method in class cloud.opencode.base.io.resource.FileSystemResource
 
contentLength() - Method in interface cloud.opencode.base.io.resource.Resource
Gets the content length in bytes 获取内容长度(字节)
contentLength() - Method in class cloud.opencode.base.io.resource.UrlResource
 
copy(InputStream, OutputStream) - Static method in class cloud.opencode.base.io.OpenStream
Copies input stream to output stream 复制输入流到输出流
copy(InputStream, OutputStream, int) - Static method in class cloud.opencode.base.io.OpenStream
Copies input stream to output stream with buffer size 使用指定缓冲区大小复制输入流到输出流
copy(Reader, Writer) - Static method in class cloud.opencode.base.io.OpenStream
Copies Reader to Writer 复制Reader到Writer
copy(Path, Path) - Static method in class cloud.opencode.base.io.file.FileCopier
Copies a file directly 直接复制文件
copy(Path, Path, CopyOption...) - Static method in class cloud.opencode.base.io.OpenIO
Copies a file 复制文件
copyAll(Collection, Path, CopyOption...) - Static method in class cloud.opencode.base.io.batch.OpenBatch
Copy all files to target directory 复制所有文件到目标目录
copyAll(Collection, Path, CopyOption...) - Method in class cloud.opencode.base.io.batch.OpenBatch.ParallelBuilder
Copy all files in parallel 并行复制所有文件
copyAll(Collection, Path, Predicate, CopyOption...) - Static method in class cloud.opencode.base.io.batch.OpenBatch
Copy files matching filter to target directory 复制匹配过滤器的文件到目标目录
copyAttributes() - Method in class cloud.opencode.base.io.file.FileCopier
Enables copy attributes 启用复制属性
copyFailed(Path, Path, Throwable) - Static method in exception class cloud.opencode.base.io.exception.OpenIOOperationException
Creates a copy failed exception 创建复制失败异常
copyGlob(Path, String, Path, CopyOption...) - Static method in class cloud.opencode.base.io.batch.OpenBatch
Copy files matching glob pattern 复制匹配 glob 模式的文件
copyInChunks(Path, Path, int, BiConsumer) - Static method in class cloud.opencode.base.io.file.ChunkedFileProcessor
Copies a file in chunks.
copyRecursively(Path, Path, CopyOption...) - Static method in class cloud.opencode.base.io.OpenIO
Copies directory recursively 递归复制目录
copyReplace(Path, Path) - Static method in class cloud.opencode.base.io.file.FileCopier
Copies a file with replace option 使用替换选项复制文件
copyToFile(InputStream, Path) - Static method in class cloud.opencode.base.io.OpenStream
Copies input stream to file 复制输入流到文件
copyVisitor(Path, Path, CopyOption...) - Static method in class cloud.opencode.base.io.OpenFileVisitors
Creates a copy visitor that copies files and directories 创建复制文件和目录的复制访问器
count() - Method in class cloud.opencode.base.io.file.MoreFiles.FileTreeTraversal
Counts matching paths.
countChunks(Path, int) - Static method in class cloud.opencode.base.io.file.ChunkedFileProcessor
Counts the number of chunks in a file.
CountingInputStream - Class in cloud.opencode.base.io.stream
Counting Input Stream 计数输入流
CountingInputStream(InputStream) - Constructor for class cloud.opencode.base.io.stream.CountingInputStream
Creates a counting input stream 创建计数输入流
countingVisitor() - Static method in class cloud.opencode.base.io.OpenFileVisitors
Creates a counting visitor that counts files and directories 创建统计文件和目录的计数访问器
CountingVisitor() - Constructor for class cloud.opencode.base.io.OpenFileVisitors.CountingVisitor
 
crc32(byte[]) - Static method in class cloud.opencode.base.io.checksum.OpenChecksum
Calculates CRC32 checksum for byte array 计算字节数组的CRC32校验和
crc32(InputStream) - Static method in class cloud.opencode.base.io.checksum.OpenChecksum
Calculates CRC32 checksum for an input stream 计算输入流的CRC32校验和
crc32(Path) - Static method in class cloud.opencode.base.io.checksum.OpenChecksum
Calculates CRC32 checksum for a file 计算文件的CRC32校验和
createAutoDeleteTempFile(String, String) - Static method in class cloud.opencode.base.io.temp.OpenTempFile
Creates an auto-delete temporary file 创建自动删除临时文件
createAutoDeleteTempFile(Path, String, String) - Static method in class cloud.opencode.base.io.temp.OpenTempFile
Creates an auto-delete temporary file in specified directory 在指定目录创建自动删除临时文件
createDirectories(Path) - Static method in class cloud.opencode.base.io.OpenIO
Creates directories including parents 创建目录(包含父目录)
createDirectory(Path) - Static method in class cloud.opencode.base.io.OpenIO
Creates a directory 创建目录
createDirectoryFailed(Path, Throwable) - Static method in exception class cloud.opencode.base.io.exception.OpenIOOperationException
Creates a create directory failed exception 创建目录创建失败异常
createFile(Path) - Static method in class cloud.opencode.base.io.OpenIO
Creates a file 创建文件
createFileFailed(Path, Throwable) - Static method in exception class cloud.opencode.base.io.exception.OpenIOOperationException
Creates a create file failed exception 创建文件创建失败异常
createParentDirectories(Path) - Static method in class cloud.opencode.base.io.file.MoreFiles
Creates parent directories if they don't exist.
createRelative(String) - Method in class cloud.opencode.base.io.resource.ClassPathResource
 
createRelative(String) - Method in class cloud.opencode.base.io.resource.FileSystemResource
 
createRelative(String) - Method in interface cloud.opencode.base.io.resource.Resource
Creates a relative resource 创建相对资源
createRelative(String) - Method in class cloud.opencode.base.io.resource.UrlResource
 
createTempDirectory(String) - Static method in class cloud.opencode.base.io.temp.OpenTempFile
Creates a temporary directory 创建临时目录
createTempDirectory(Path, String) - Static method in class cloud.opencode.base.io.temp.OpenTempFile
Creates a temporary directory in specified parent 在指定父目录创建临时目录
createTempFile(String, String) - Static method in class cloud.opencode.base.io.temp.OpenTempFile
Creates a temporary file 创建临时文件
createTempFile(Path, String, String) - Static method in class cloud.opencode.base.io.temp.OpenTempFile
Creates a temporary file in specified directory 在指定目录创建临时文件
createTempFileFromStream(InputStream, String, String) - Static method in class cloud.opencode.base.io.temp.OpenTempFile
Creates a temporary file from input stream 从输入流创建临时文件

D

data() - Method in record class cloud.opencode.base.io.file.ChunkedFileProcessor.Chunk
Returns a defensive copy of the chunk data.
DEFAULT_BUFFER_SIZE - Static variable in class cloud.opencode.base.io.OpenStream
Default buffer size (8KB) 默认缓冲区大小(8KB)
DEFAULT_CHUNK_SIZE - Static variable in class cloud.opencode.base.io.file.ChunkedFileProcessor
Default chunk size: 4MB
DEFAULT_PARALLELISM - Static variable in class cloud.opencode.base.io.batch.OpenBatch
Default parallelism (number of processors) 默认并行度(处理器数量)
DefaultResourceLoader - Class in cloud.opencode.base.io.resource
Default Resource Loader Implementation 默认资源加载器实现
DefaultResourceLoader() - Constructor for class cloud.opencode.base.io.resource.DefaultResourceLoader
Creates a default resource loader 创建默认资源加载器
DefaultResourceLoader(ClassLoader) - Constructor for class cloud.opencode.base.io.resource.DefaultResourceLoader
Creates a resource loader with specific classloader 使用指定类加载器创建资源加载器
delete() - Method in class cloud.opencode.base.io.temp.AutoDeleteTempFile
Deletes the file immediately 立即删除文件
delete(Path) - Static method in class cloud.opencode.base.io.OpenIO
Deletes a file or empty directory 删除文件或空目录
deleteAll(Collection) - Static method in class cloud.opencode.base.io.batch.OpenBatch
Delete all files 删除所有文件
deleteAll(Collection) - Method in class cloud.opencode.base.io.batch.OpenBatch.ParallelBuilder
Delete all files in parallel 并行删除所有文件
deleteAll(Collection, Predicate) - Static method in class cloud.opencode.base.io.batch.OpenBatch
Delete files matching filter 删除匹配过滤器的文件
deleteDirectoryIfEmpty(Path) - Static method in class cloud.opencode.base.io.file.MoreFiles
Deletes a directory only if it's empty.
deleteFailed(Path, Throwable) - Static method in exception class cloud.opencode.base.io.exception.OpenIOOperationException
Creates a delete failed exception 创建删除失败异常
deleteGlob(Path, String) - Static method in class cloud.opencode.base.io.batch.OpenBatch
Delete files matching glob pattern 删除匹配 glob 模式的文件
deleteIfExists(Path) - Static method in class cloud.opencode.base.io.file.MoreFiles
Deletes if exists, returning whether deletion occurred.
deleteIfExists(Path) - Static method in class cloud.opencode.base.io.OpenIO
Deletes file if exists 删除文件(如果存在)
deleteRecursively(Path) - Static method in class cloud.opencode.base.io.file.MoreFiles
Deletes a file or directory recursively.
deleteRecursively(Path) - Static method in class cloud.opencode.base.io.OpenIO
Deletes directory recursively 递归删除目录
deleteRecursively(Path, Predicate) - Static method in class cloud.opencode.base.io.file.MoreFiles
Deletes files recursively that match the filter.
deleteVisitor() - Static method in class cloud.opencode.base.io.OpenFileVisitors
Creates a delete visitor that removes all files and directories 创建删除所有文件和目录的删除访问器
detect(Path) - Static method in class cloud.opencode.base.io.OpenMimeType
Detect MIME type from file (combines extension and content detection) 从文件检测 MIME 类型(综合扩展名和内容检测)
detectByExtension(Path) - Static method in class cloud.opencode.base.io.OpenMimeType
Detect MIME type preferring extension over content 优先使用扩展名检测 MIME 类型
differenceCount() - Method in record class cloud.opencode.base.io.file.FileComparator.DirectoryDiff
Returns the total number of differences.
different() - Method in record class cloud.opencode.base.io.file.FileComparator.DirectoryDiff
Returns the value of the different record component.
diffLines(Path, Path) - Static method in class cloud.opencode.base.io.file.FileComparator
Generates a diff between two text files using UTF-8.
diffLines(Path, Path, Charset) - Static method in class cloud.opencode.base.io.file.FileComparator
Generates a diff between two text files.
digest(byte[], String) - Static method in class cloud.opencode.base.io.checksum.OpenChecksum
Calculates digest for byte array 计算字节数组的摘要
digest(InputStream, String) - Static method in class cloud.opencode.base.io.checksum.OpenChecksum
Calculates digest for an input stream 计算输入流的摘要
digest(Path, String) - Static method in class cloud.opencode.base.io.checksum.OpenChecksum
Calculates digest for a file using specified algorithm 使用指定算法计算文件的摘要
directoriesOnly() - Method in class cloud.opencode.base.io.file.MoreFiles.FileTreeTraversal
Filters for directories only.
DirectoryDiff(Set, Set, Set, Set) - Constructor for record class cloud.opencode.base.io.file.FileComparator.DirectoryDiff
Creates an instance of a DirectoryDiff record class.
directorySize(Path) - Static method in class cloud.opencode.base.io.OpenIO
Gets directory size recursively 递归获取目录大小
DownloadProgress - Class in cloud.opencode.base.io.progress
Download Progress - Download Progress Information 下载进度 - 下载进度信息
DownloadProgress(long, long, double, long, long) - Constructor for class cloud.opencode.base.io.progress.DownloadProgress
Creates a download progress.
drain(InputStream) - Static method in class cloud.opencode.base.io.OpenStream
Drains all remaining bytes from input stream 排空输入流中的所有剩余字节
duration() - Method in record class cloud.opencode.base.io.batch.BatchResult
Get operation duration 获取操作耗时

E

elapsedMs() - Method in record class cloud.opencode.base.io.progress.UploadProgress
Returns the value of the elapsedMs record component.
endTime() - Method in record class cloud.opencode.base.io.batch.BatchResult
Returns the value of the endTime record component.
equals(Object) - Method in record class cloud.opencode.base.io.batch.BatchResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.io.checksum.Checksum
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.io.file.ChunkedFileProcessor.Chunk
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.io.file.FileComparator.DirectoryDiff
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.io.file.FileComparator.LineChange
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.io.file.FileComparator.LineDiff
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.io.file.FileComparator.LineEntry
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.io.file.FileWatcher.FileEvent
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class cloud.opencode.base.io.progress.DownloadProgress
 
equals(Object) - Method in record class cloud.opencode.base.io.progress.UploadProgress
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class cloud.opencode.base.io.resource.ClassPathResource
 
equals(Object) - Method in class cloud.opencode.base.io.resource.FileSystemResource
 
equals(Object) - Method in class cloud.opencode.base.io.resource.UrlResource
 
execute() - Method in class cloud.opencode.base.io.file.FileCopier
Executes the copy operation 执行复制操作
execute(String, Collection, OpenBatch.PathAction) - Method in class cloud.opencode.base.io.batch.OpenBatch.ParallelBuilder
Execute custom operation in parallel 并行执行自定义操作
execute(Path) - Method in interface cloud.opencode.base.io.batch.OpenBatch.PathAction
Execute action on path 在路径上执行操作
exists() - Method in class cloud.opencode.base.io.file.FileReader
Checks if file exists 检查文件是否存在
exists() - Method in class cloud.opencode.base.io.resource.ClassPathResource
 
exists() - Method in class cloud.opencode.base.io.resource.FileSystemResource
 
exists() - Method in interface cloud.opencode.base.io.resource.Resource
Checks if the resource exists 检查资源是否存在
exists() - Method in class cloud.opencode.base.io.resource.UrlResource
 
exists() - Method in class cloud.opencode.base.io.temp.AutoDeleteTempFile
Checks if the file exists 检查文件是否存在
exists(String) - Static method in class cloud.opencode.base.io.OpenResource
Checks if resource exists 检查资源是否存在
exists(Path, LinkOption...) - Static method in class cloud.opencode.base.io.OpenIO
Checks if path exists 检查路径是否存在

F

failedPaths() - Method in record class cloud.opencode.base.io.batch.BatchResult
Get failed paths 获取失败的路径
failure(Path, Throwable) - Method in class cloud.opencode.base.io.batch.BatchResult.Builder
Record a failure 记录失败
failureCount() - Method in record class cloud.opencode.base.io.batch.BatchResult
Returns the value of the failureCount record component.
failures() - Method in record class cloud.opencode.base.io.batch.BatchResult
Returns the value of the failures record component.
FastByteArrayOutputStream - Class in cloud.opencode.base.io.stream
Fast Byte Array Output Stream 高性能字节数组输出流
FastByteArrayOutputStream() - Constructor for class cloud.opencode.base.io.stream.FastByteArrayOutputStream
Creates a stream with default capacity 创建默认容量的流
FastByteArrayOutputStream(int) - Constructor for class cloud.opencode.base.io.stream.FastByteArrayOutputStream
Creates a stream with specified initial capacity 创建指定初始容量的流
FILE_PREFIX - Static variable in interface cloud.opencode.base.io.resource.ResourceLoader
File prefix 文件前缀
FileComparator - Class in cloud.opencode.base.io.file
File Content Comparator - Compares files by content 文件内容比较器 - 按内容比较文件
FileComparator.DirectoryDiff - Record Class in cloud.opencode.base.io.file
Result of comparing two directories.
FileComparator.LineChange - Record Class in cloud.opencode.base.io.file
A line change between two files.
FileComparator.LineDiff - Record Class in cloud.opencode.base.io.file
Result of comparing lines between two files.
FileComparator.LineEntry - Record Class in cloud.opencode.base.io.file
A line entry with line number.
FileCopier - Class in cloud.opencode.base.io.file
File Copier Utility 文件复制器
FileEvent(Path, WatchEvent.Kind) - Constructor for record class cloud.opencode.base.io.file.FileWatcher.FileEvent
Creates an instance of a FileEvent record class.
fileName() - Method in record class cloud.opencode.base.io.progress.UploadProgress
Returns the value of the fileName record component.
fileNotFound(Path) - Static method in exception class cloud.opencode.base.io.exception.OpenIOOperationException
Creates a file not found exception 创建文件未找到异常
FileReader - Class in cloud.opencode.base.io.file
File Reader Utility 文件读取器
fileResource(String) - Static method in class cloud.opencode.base.io.OpenResource
Creates a filesystem resource from string 从字符串创建文件系统资源
fileResource(Path) - Static method in class cloud.opencode.base.io.OpenResource
Creates a filesystem resource 创建文件系统资源
filesOnly() - Method in class cloud.opencode.base.io.file.MoreFiles.FileTreeTraversal
Filters for regular files only.
FileSystemResource - Class in cloud.opencode.base.io.resource
File System Resource Implementation 文件系统资源实现
FileSystemResource(String) - Constructor for class cloud.opencode.base.io.resource.FileSystemResource
Creates a file system resource from string path 从字符串路径创建文件系统资源
FileSystemResource(Path) - Constructor for class cloud.opencode.base.io.resource.FileSystemResource
Creates a file system resource from path 从路径创建文件系统资源
fileTree(Path) - Static method in class cloud.opencode.base.io.file.MoreFiles
Creates a file tree traversal builder.
FileWatcher - Class in cloud.opencode.base.io.file
File Watcher 文件监听器
FileWatcher.FileEvent - Record Class in cloud.opencode.base.io.file
File Event 文件事件
FileWriter - Class in cloud.opencode.base.io.file
File Writer Utility 文件写入器
filter(String) - Method in class cloud.opencode.base.io.file.FileWatcher
Sets file name filter pattern 设置文件名过滤模式
filter(Predicate) - Method in class cloud.opencode.base.io.file.MoreFiles.FileTreeTraversal
Sets file filter.
filteredVisitor(BiPredicate, Consumer) - Static method in class cloud.opencode.base.io.OpenFileVisitors
Creates a filtered action visitor 创建带过滤器的操作访问器
find(Path, int, BiPredicate) - Static method in class cloud.opencode.base.io.OpenIO
Finds files with custom matcher 使用自定义匹配器查找文件
find(Path, String) - Static method in class cloud.opencode.base.io.OpenIO
Finds files matching regex pattern 查找匹配正则表达式的文件
firstLine() - Method in class cloud.opencode.base.io.file.FileReader
Reads first line of file 读取文件首行
flushBranch() - Method in class cloud.opencode.base.io.stream.TeeInputStream
Flushes the branch output stream 刷新分支输出流
followSymlinks() - Method in class cloud.opencode.base.io.file.MoreFiles.FileTreeTraversal
Follows symbolic links.
forEach(Consumer) - Method in class cloud.opencode.base.io.file.MoreFiles.FileTreeTraversal
Applies action to each matching path.
formattedDownloadedBytes() - Method in class cloud.opencode.base.io.progress.DownloadProgress
Gets formatted downloaded bytes.
formattedPercentage() - Method in class cloud.opencode.base.io.progress.DownloadProgress
Gets formatted percentage.
formattedPercentage() - Method in record class cloud.opencode.base.io.progress.UploadProgress
Returns the upload percentage as a formatted string (e.g., "42.5%").
formattedRemainingTime() - Method in class cloud.opencode.base.io.progress.DownloadProgress
Gets formatted remaining time.
formattedSpeed() - Method in class cloud.opencode.base.io.progress.DownloadProgress
Gets formatted speed.
formattedTotalBytes() - Method in class cloud.opencode.base.io.progress.DownloadProgress
Gets formatted total bytes.
from(String) - Static method in class cloud.opencode.base.io.file.FileCopier
Creates a file copier from source string 从源字符串创建文件复制器
from(Path) - Static method in class cloud.opencode.base.io.file.FileCopier
Creates a file copier from source 从源创建文件复制器
fromContent(byte[]) - Static method in class cloud.opencode.base.io.OpenMimeType
Detect MIME type from byte array content 从字节数组内容检测 MIME 类型
fromContent(InputStream) - Static method in class cloud.opencode.base.io.OpenMimeType
Detect MIME type from input stream 从输入流检测 MIME 类型
fromContent(Path) - Static method in class cloud.opencode.base.io.OpenMimeType
Detect MIME type from file content (magic numbers) 从文件内容检测 MIME 类型(魔数)
fromExtension(String) - Static method in class cloud.opencode.base.io.OpenMimeType
Get MIME type from file extension 从文件扩展名获取 MIME 类型
fromExtension(String, String) - Static method in class cloud.opencode.base.io.OpenMimeType
Get MIME type from file extension with default 从文件扩展名获取 MIME 类型(带默认值)
fromFilename(String) - Static method in class cloud.opencode.base.io.OpenMimeType
Get MIME type from filename 从文件名获取 MIME 类型
fromHex(String, String) - Static method in record class cloud.opencode.base.io.checksum.Checksum
Creates a checksum from hex string 从十六进制字符串创建校验和
fromPath(Path) - Static method in class cloud.opencode.base.io.OpenMimeType
Get MIME type from path extension 从路径扩展名获取 MIME 类型

G

getBranch() - Method in class cloud.opencode.base.io.stream.TeeInputStream
Gets the branch output stream 获取分支输出流
getBuffer() - Method in class cloud.opencode.base.io.stream.FastByteArrayOutputStream
Gets the internal buffer (for advanced use) 获取内部缓冲区(高级用法)
getBytesRead() - Method in class cloud.opencode.base.io.stream.BoundedInputStream
Gets the number of bytes read 获取已读取字节数
getChannel() - Method in class cloud.opencode.base.io.lock.OpenFileLock.FileLockHandle
Get the underlying FileChannel 获取底层 FileChannel
getClassLoader() - Method in class cloud.opencode.base.io.resource.ClassPathResource
Gets the classloader 获取类加载器
getClassLoader() - Method in class cloud.opencode.base.io.resource.DefaultResourceLoader
 
getClassLoader() - Method in interface cloud.opencode.base.io.resource.ResourceLoader
Gets the ClassLoader used by this loader 获取此加载器使用的ClassLoader
getClassPath() - Method in class cloud.opencode.base.io.resource.ClassPathResource
Gets the classpath 获取类路径
getCount() - Method in class cloud.opencode.base.io.stream.CountingInputStream
Gets the number of bytes read 获取已读取字节数
getDefault() - Static method in interface cloud.opencode.base.io.resource.ResourceLoader
Gets the default resource loader 获取默认资源加载器
getDescription() - Method in class cloud.opencode.base.io.resource.ClassPathResource
 
getDescription() - Method in class cloud.opencode.base.io.resource.FileSystemResource
 
getDescription() - Method in interface cloud.opencode.base.io.resource.Resource
Gets a description of the resource 获取资源描述
getDescription() - Method in class cloud.opencode.base.io.resource.UrlResource
 
getDirectoryCount() - Method in class cloud.opencode.base.io.OpenFileVisitors.CountingVisitor
Gets directory count 获取目录数量
getDownloadedBytes() - Method in class cloud.opencode.base.io.progress.DownloadProgress
Gets the downloaded bytes.
getExtension(String) - Static method in class cloud.opencode.base.io.OpenMimeType
Get file extension for MIME type 获取 MIME 类型对应的文件扩展名
getExtension(String) - Static method in class cloud.opencode.base.io.OpenPath
Gets the file extension from filename 从文件名获取扩展名
getExtension(Path) - Static method in class cloud.opencode.base.io.OpenPath
Gets the file extension 获取文件扩展名
getFailure(Path) - Method in record class cloud.opencode.base.io.batch.BatchResult
Get exception for a specific path 获取特定路径的异常
getFileCount() - Method in class cloud.opencode.base.io.OpenFileVisitors.CountingVisitor
Gets file count 获取文件数量
getFileExtension(Path) - Static method in class cloud.opencode.base.io.file.MoreFiles
Gets file extension (with dot).
getFilename() - Method in class cloud.opencode.base.io.resource.ClassPathResource
 
getFilename() - Method in class cloud.opencode.base.io.resource.FileSystemResource
 
getFilename() - Method in interface cloud.opencode.base.io.resource.Resource
Gets the filename of the resource 获取资源的文件名
getFilename() - Method in class cloud.opencode.base.io.resource.UrlResource
 
getFileName(Path) - Static method in class cloud.opencode.base.io.OpenPath
Gets file name from path 从路径获取文件名
getFilePath() - Method in class cloud.opencode.base.io.resource.FileSystemResource
Gets the file path 获取文件路径
getInputStream() - Method in class cloud.opencode.base.io.resource.ClassPathResource
 
getInputStream() - Method in class cloud.opencode.base.io.resource.FileSystemResource
 
getInputStream() - Method in interface cloud.opencode.base.io.resource.Resource
Gets the input stream for reading the resource 获取用于读取资源的输入流
getInputStream() - Method in class cloud.opencode.base.io.resource.UrlResource
 
getLastModifiedTime(Path) - Static method in class cloud.opencode.base.io.OpenIO
Gets last modified time 获取最后修改时间
getLock() - Method in class cloud.opencode.base.io.lock.OpenFileLock.FileLockHandle
Get the underlying FileLock 获取底层 FileLock
getLockFilePath(Path) - Static method in class cloud.opencode.base.io.lock.OpenFileLock
Get lock file path for a resource 获取资源的锁文件路径
getMaxSize() - Method in class cloud.opencode.base.io.stream.BoundedInputStream
Gets the maximum size limit 获取最大大小限制
getNameCount(Path) - Static method in class cloud.opencode.base.io.OpenPath
Gets path name count 获取路径名称数量
getNameWithoutExtension(String) - Static method in class cloud.opencode.base.io.OpenPath
Gets filename without extension from filename string 从文件名字符串获取不含扩展名的文件名
getNameWithoutExtension(Path) - Static method in class cloud.opencode.base.io.file.MoreFiles
Gets filename without extension.
getNameWithoutExtension(Path) - Static method in class cloud.opencode.base.io.OpenPath
Gets filename without extension 获取不含扩展名的文件名
getParent(Path) - Static method in class cloud.opencode.base.io.OpenPath
Gets parent directory 获取父目录
getPath() - Method in class cloud.opencode.base.io.file.FileReader
Gets the path 获取路径
getPath() - Method in class cloud.opencode.base.io.file.FileWriter
Gets the path 获取路径
getPath() - Method in class cloud.opencode.base.io.lock.OpenFileLock.FileLockHandle
Get the locked file path 获取锁定的文件路径
getPath() - Method in class cloud.opencode.base.io.resource.ClassPathResource
 
getPath() - Method in class cloud.opencode.base.io.resource.FileSystemResource
 
getPath() - Method in interface cloud.opencode.base.io.resource.Resource
Gets the file path if available 获取文件路径(如果可用)
getPath() - Method in class cloud.opencode.base.io.resource.UrlResource
 
getPath() - Method in class cloud.opencode.base.io.temp.AutoDeleteTempFile
Gets the file path 获取文件路径
getPercentage() - Method in class cloud.opencode.base.io.progress.DownloadProgress
Gets the completion percentage.
getRemaining() - Method in class cloud.opencode.base.io.stream.BoundedInputStream
Gets the remaining bytes that can be read 获取剩余可读字节数
getRemainingTime() - Method in class cloud.opencode.base.io.progress.DownloadProgress
Gets the remaining time.
getResource(String) - Static method in class cloud.opencode.base.io.OpenResource
Gets resource URL 获取资源URL
getResource(String) - Method in class cloud.opencode.base.io.resource.DefaultResourceLoader
 
getResource(String) - Method in interface cloud.opencode.base.io.resource.ResourceLoader
Loads a resource from the given location 从给定位置加载资源
getResourceLoader() - Static method in class cloud.opencode.base.io.OpenResource
Gets the resource loader 获取资源加载器
getResourceRequired(String) - Static method in class cloud.opencode.base.io.OpenResource
Gets resource URL (required) 获取资源URL(必须存在)
getResources(String) - Static method in class cloud.opencode.base.io.OpenResource
Gets all matching resource URLs 获取所有匹配的资源URL
getRoot(Path) - Static method in class cloud.opencode.base.io.OpenPath
Gets root path 获取根路径
getSource() - Method in class cloud.opencode.base.io.file.FileCopier
Gets the source path 获取源路径
getSpeed() - Method in class cloud.opencode.base.io.progress.DownloadProgress
Gets the download speed.
getStream(String) - Static method in class cloud.opencode.base.io.OpenResource
Gets resource input stream 获取资源输入流
getTarget() - Method in class cloud.opencode.base.io.file.FileCopier
Gets the target path 获取目标路径
getTempDirectory() - Static method in class cloud.opencode.base.io.temp.OpenTempFile
Gets the system temp directory 获取系统临时目录
getTotalBytes() - Method in class cloud.opencode.base.io.progress.DownloadProgress
Gets the total bytes.
getTotalCount() - Method in class cloud.opencode.base.io.OpenFileVisitors.CountingVisitor
Gets total count 获取总数量
getTotalSize() - Method in class cloud.opencode.base.io.OpenFileVisitors.SizeVisitor
Gets total size 获取总大小
getURI() - Method in class cloud.opencode.base.io.resource.UrlResource
Gets the URI 获取URI
getURL() - Method in class cloud.opencode.base.io.resource.ClassPathResource
 
getURL() - Method in class cloud.opencode.base.io.resource.FileSystemResource
 
getURL() - Method in interface cloud.opencode.base.io.resource.Resource
Gets the URL of the resource 获取资源的URL
getURL() - Method in class cloud.opencode.base.io.resource.UrlResource
 
getWatchPath() - Method in class cloud.opencode.base.io.file.FileWatcher
Gets the watch path 获取监听路径
glob(String) - Method in class cloud.opencode.base.io.file.MoreFiles.FileTreeTraversal
Filters by glob pattern.
glob(Path, String) - Static method in class cloud.opencode.base.io.OpenIO
Finds files matching glob pattern 查找匹配glob模式的文件

H

hasFailures() - Method in record class cloud.opencode.base.io.batch.BatchResult
Check if any operation failed 检查是否有失败
hashCode() - Method in record class cloud.opencode.base.io.batch.BatchResult
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.io.checksum.Checksum
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.io.file.ChunkedFileProcessor.Chunk
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.io.file.FileComparator.DirectoryDiff
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.io.file.FileComparator.LineChange
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.io.file.FileComparator.LineDiff
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.io.file.FileComparator.LineEntry
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.io.file.FileWatcher.FileEvent
Returns a hash code value for this object.
hashCode() - Method in class cloud.opencode.base.io.progress.DownloadProgress
 
hashCode() - Method in record class cloud.opencode.base.io.progress.UploadProgress
Returns a hash code value for this object.
hashCode() - Method in class cloud.opencode.base.io.resource.ClassPathResource
 
hashCode() - Method in class cloud.opencode.base.io.resource.FileSystemResource
 
hashCode() - Method in class cloud.opencode.base.io.resource.UrlResource
 
hashEquals(Path, Path, String) - Static method in class cloud.opencode.base.io.file.FileComparator
Compares two files using hash.
hex() - Method in record class cloud.opencode.base.io.checksum.Checksum
Returns the value of the hex record component.

I

incrementSkipped() - Method in class cloud.opencode.base.io.batch.BatchResult.Builder
Increment skip count atomically 原子递增跳过计数
incrementSuccess() - Method in class cloud.opencode.base.io.batch.BatchResult.Builder
Increment success count atomically 原子递增成功计数
index() - Method in record class cloud.opencode.base.io.file.ChunkedFileProcessor.Chunk
Returns the value of the index record component.
INSTANCE - Static variable in class cloud.opencode.base.io.resource.DefaultResourceLoader
Singleton instance 单例实例
invalidPath(String, Throwable) - Static method in exception class cloud.opencode.base.io.exception.OpenIOOperationException
Creates an invalid path exception 创建无效路径异常
isAbsolute(Path) - Static method in class cloud.opencode.base.io.OpenPath
Checks if path is absolute 检查是否为绝对路径
isAllSuccess() - Method in record class cloud.opencode.base.io.batch.BatchResult
Check if all operations succeeded 检查是否全部成功
isAudio(String) - Static method in class cloud.opencode.base.io.OpenMimeType
Check if MIME type is audio 检查 MIME 类型是否为音频
isBinary(String) - Static method in class cloud.opencode.base.io.OpenMimeType
Check if MIME type is binary 检查 MIME 类型是否为二进制
isComplete() - Method in class cloud.opencode.base.io.progress.DownloadProgress
Checks if download is complete.
isCreate() - Method in record class cloud.opencode.base.io.file.FileWatcher.FileEvent
Checks if this is a create event 检查是否为创建事件
isDelete() - Method in record class cloud.opencode.base.io.file.FileWatcher.FileEvent
Checks if this is a delete event 检查是否为删除事件
isDirectory(Path) - Static method in class cloud.opencode.base.io.OpenIO
Checks if path is a directory 检查路径是否为目录
isEmpty() - Method in record class cloud.opencode.base.io.file.FileComparator.LineDiff
Returns true if there are no differences.
isEmptyDirectory(Path) - Static method in class cloud.opencode.base.io.file.MoreFiles
Checks if a directory is empty.
isEmptyDirectory(Path) - Static method in class cloud.opencode.base.io.OpenIO
Checks if directory is empty 检查目录是否为空
isExclusivelyLocked(Path) - Static method in class cloud.opencode.base.io.lock.OpenFileLock
Check if file is locked with shared lock 检查文件是否被共享锁定
isFile(Path) - Static method in class cloud.opencode.base.io.OpenIO
Checks if path is a file 检查路径是否为文件
isHidden(Path) - Static method in class cloud.opencode.base.io.OpenIO
Checks if path is hidden 检查路径是否隐藏
isIdentical() - Method in record class cloud.opencode.base.io.file.FileComparator.DirectoryDiff
Returns true if directories are identical.
isImage(String) - Static method in class cloud.opencode.base.io.OpenMimeType
Check if MIME type is image 检查 MIME 类型是否为图片
isInTempDirectory(Path) - Static method in class cloud.opencode.base.io.temp.OpenTempFile
Checks if a path is in the temp directory 检查路径是否在临时目录中
isLast() - Method in record class cloud.opencode.base.io.file.ChunkedFileProcessor.Chunk
Returns the value of the isLast record component.
isLimitReached() - Method in class cloud.opencode.base.io.stream.BoundedInputStream
Checks if the limit has been reached 检查是否已达到限制
isLocked(Path) - Static method in class cloud.opencode.base.io.lock.OpenFileLock
Check if file is locked 检查文件是否被锁定
isModify() - Method in record class cloud.opencode.base.io.file.FileWatcher.FileEvent
Checks if this is a modify event 检查是否为修改事件
isPartialSuccess() - Method in record class cloud.opencode.base.io.batch.BatchResult
Check if operation was partially successful 检查是否部分成功
isReadable() - Method in class cloud.opencode.base.io.resource.ClassPathResource
 
isReadable() - Method in class cloud.opencode.base.io.resource.FileSystemResource
 
isReadable() - Method in interface cloud.opencode.base.io.resource.Resource
Checks if the resource is readable 检查资源是否可读
isReadable() - Method in class cloud.opencode.base.io.resource.UrlResource
 
isReadable(Path) - Static method in class cloud.opencode.base.io.OpenIO
Checks if path is readable 检查路径是否可读
isRunning() - Method in class cloud.opencode.base.io.file.FileWatcher
Checks if watcher is running 检查监听器是否正在运行
isSameFile(Path, Path) - Static method in class cloud.opencode.base.io.OpenIO
Checks if two paths point to the same file 检查两个路径是否指向同一文件
isSameFile(Path, Path) - Static method in class cloud.opencode.base.io.OpenPath
Checks if two paths point to the same file 检查两个路径是否指向同一文件
isShared() - Method in class cloud.opencode.base.io.lock.OpenFileLock.FileLockHandle
Check if this is a shared lock 检查是否为共享锁
isSubPath(Path, Path) - Static method in class cloud.opencode.base.io.OpenPath
Checks if child is a sub path of parent 检查子路径是否为父路径的子路径
isSymbolicLink(Path) - Static method in class cloud.opencode.base.io.OpenIO
Checks if path is a symbolic link 检查路径是否为符号链接
isText(String) - Static method in class cloud.opencode.base.io.OpenMimeType
Check if MIME type is text-based 检查 MIME 类型是否为文本类型
isTotalKnown() - Method in class cloud.opencode.base.io.progress.DownloadProgress
Checks if total size is known.
isValid() - Method in class cloud.opencode.base.io.lock.OpenFileLock.FileLockHandle
Check if lock is still valid 检查锁是否仍然有效
isVideo(String) - Static method in class cloud.opencode.base.io.OpenMimeType
Check if MIME type is video 检查 MIME 类型是否为视频
isWritable(Path) - Static method in class cloud.opencode.base.io.OpenIO
Checks if path is writable 检查路径是否可写

J

join(String, String...) - Static method in class cloud.opencode.base.io.OpenPath
Joins multiple path segments 连接多个路径段
join(Path, String...) - Static method in class cloud.opencode.base.io.OpenPath
Joins path with more segments 连接路径与更多段

K

kind() - Method in record class cloud.opencode.base.io.file.FileWatcher.FileEvent
Returns the value of the kind record component.

L

lastLine() - Method in class cloud.opencode.base.io.file.FileReader
Reads last line of file 读取文件末行
lastModified() - Method in class cloud.opencode.base.io.resource.ClassPathResource
 
lastModified() - Method in class cloud.opencode.base.io.resource.FileSystemResource
 
lastModified() - Method in interface cloud.opencode.base.io.resource.Resource
Gets the last modified time 获取最后修改时间
lastModified() - Method in class cloud.opencode.base.io.resource.UrlResource
 
LineChange(int, String, String) - Constructor for record class cloud.opencode.base.io.file.FileComparator.LineChange
Creates an instance of a LineChange record class.
LineDiff(List, List, List) - Constructor for record class cloud.opencode.base.io.file.FileComparator.LineDiff
Creates an instance of a LineDiff record class.
LineEntry(int, String) - Constructor for record class cloud.opencode.base.io.file.FileComparator.LineEntry
Creates an instance of a LineEntry record class.
lineNumber() - Method in record class cloud.opencode.base.io.file.FileComparator.LineChange
Returns the value of the lineNumber record component.
lineNumber() - Method in record class cloud.opencode.base.io.file.FileComparator.LineEntry
Returns the value of the lineNumber record component.
lines(Path) - Static method in class cloud.opencode.base.io.OpenIO
Returns a stream of lines from file (UTF-8) 返回文件的行流(UTF-8)
lines(Path, Charset) - Static method in class cloud.opencode.base.io.OpenIO
Returns a stream of lines from file 返回文件的行流
linesEqual(Path, Path) - Static method in class cloud.opencode.base.io.file.FileComparator
Compares two text files line by line using UTF-8.
linesEqual(Path, Path, Charset) - Static method in class cloud.opencode.base.io.file.FileComparator
Compares two text files line by line.
list(Path) - Static method in class cloud.opencode.base.io.OpenIO
Lists directory contents 列出目录内容
listDirectoriesRecursively(Path) - Static method in class cloud.opencode.base.io.file.MoreFiles
Returns all directories under the path recursively.
listFilesRecursively(Path) - Static method in class cloud.opencode.base.io.file.MoreFiles
Returns all files (not directories) under the path recursively.
load(String) - Static method in class cloud.opencode.base.io.OpenResource
Loads resource using resource loader 使用资源加载器加载资源
lock(Path) - Static method in class cloud.opencode.base.io.lock.OpenFileLock
Acquire exclusive lock on file 获取文件的独占锁
lock(Path, boolean) - Static method in class cloud.opencode.base.io.lock.OpenFileLock
Acquire lock on file 获取文件锁
LOCK_FILE_SUFFIX - Static variable in class cloud.opencode.base.io.lock.OpenFileLock
Default lock file suffix 默认锁文件后缀
lockFile(Path) - Static method in class cloud.opencode.base.io.lock.OpenFileLock
Create a lock file for coordination 创建用于协调的锁文件
lockShared(Path) - Static method in class cloud.opencode.base.io.lock.OpenFileLock
Acquire shared (read) lock on file 获取文件的共享(读)锁

M

mark(int) - Method in class cloud.opencode.base.io.stream.BoundedInputStream
 
mark(int) - Method in class cloud.opencode.base.io.stream.CountingInputStream
 
marshal(T) - Method in interface cloud.opencode.base.io.serialization.Marshaller
Serializes a message to bytes.
Marshaller<T> - Interface in cloud.opencode.base.io.serialization
Marshaller - Message Serialization Interface 编组器 - 消息序列化接口
matcher(BiPredicate) - Method in class cloud.opencode.base.io.file.MoreFiles.FileTreeTraversal
Sets BiPredicate matcher with file attributes.
matches(Checksum) - Method in record class cloud.opencode.base.io.checksum.Checksum
Checks if this checksum matches another 检查此校验和是否与另一个匹配
matches(String) - Method in record class cloud.opencode.base.io.checksum.Checksum
Checks if this checksum matches a hex string 检查此校验和是否与十六进制字符串匹配
MAX_MMAP_SIZE - Static variable in class cloud.opencode.base.io.file.ChunkedFileProcessor
Maximum chunk size for memory mapping: 1GB
maxBytes(long) - Method in class cloud.opencode.base.io.file.ChunkedFileProcessor.Builder
Sets the maximum bytes to read.
maxDepth(int) - Method in class cloud.opencode.base.io.file.MoreFiles.FileTreeTraversal
Sets maximum depth to traverse.
md5(byte[]) - Static method in class cloud.opencode.base.io.checksum.OpenChecksum
Calculates MD5 hash for byte array 计算字节数组的MD5哈希
md5(InputStream) - Static method in class cloud.opencode.base.io.checksum.OpenChecksum
Calculates MD5 hash for an input stream 计算输入流的MD5哈希
md5(Path) - Static method in class cloud.opencode.base.io.checksum.OpenChecksum
Calculates MD5 hash for a file 计算文件的MD5哈希
MIN_CHUNK_SIZE - Static variable in class cloud.opencode.base.io.file.ChunkedFileProcessor
Minimum chunk size: 4KB
MoreFiles - Class in cloud.opencode.base.io.file
More File Utilities - Advanced file operations 更多文件工具 - 高级文件操作
MoreFiles.FileTreeTraversal - Class in cloud.opencode.base.io.file
File Tree Traversal Builder 文件树遍历构建器
move(Path, Path, CopyOption...) - Static method in class cloud.opencode.base.io.OpenIO
Moves a file 移动文件
moveAll(Collection, Path, CopyOption...) - Static method in class cloud.opencode.base.io.batch.OpenBatch
Move all files to target directory 移动所有文件到目标目录
moveAll(Collection, Path, CopyOption...) - Method in class cloud.opencode.base.io.batch.OpenBatch.ParallelBuilder
Move all files in parallel 并行移动所有文件
moveAll(Collection, Path, Predicate, CopyOption...) - Static method in class cloud.opencode.base.io.batch.OpenBatch
Move files matching filter to target directory 移动匹配过滤器的文件到目标目录
moveFailed(Path, Path, Throwable) - Static method in exception class cloud.opencode.base.io.exception.OpenIOOperationException
Creates a move failed exception 创建移动失败异常
moveGlob(Path, String, Path, CopyOption...) - Static method in class cloud.opencode.base.io.batch.OpenBatch
Move files matching glob pattern 移动匹配 glob 模式的文件

N

newContent() - Method in record class cloud.opencode.base.io.file.FileComparator.LineChange
Returns the value of the newContent record component.
noCreateParents() - Method in class cloud.opencode.base.io.file.FileWriter
Disables automatic parent directory creation 禁用自动创建父目录
normalize(Path) - Static method in class cloud.opencode.base.io.OpenPath
Normalizes path 规范化路径

O

of(long, long, long) - Static method in class cloud.opencode.base.io.progress.DownloadProgress
Creates a progress instance.
of(String) - Static method in class cloud.opencode.base.io.file.FileReader
Creates a file reader for the given path string 为给定路径字符串创建文件读取器
of(String) - Static method in class cloud.opencode.base.io.file.FileWriter
Creates a file writer for the given path string 为给定路径字符串创建文件写入器
of(Path) - Static method in class cloud.opencode.base.io.file.FileReader
Creates a file reader for the given path 为给定路径创建文件读取器
of(Path) - Static method in class cloud.opencode.base.io.file.FileWriter
Creates a file writer for the given path 为给定路径创建文件写入器
offset() - Method in record class cloud.opencode.base.io.file.ChunkedFileProcessor.Chunk
Returns the value of the offset record component.
oldContent() - Method in record class cloud.opencode.base.io.file.FileComparator.LineChange
Returns the value of the oldContent record component.
onAny(Consumer) - Method in class cloud.opencode.base.io.file.FileWatcher
Sets handler for any event 设置任意事件处理器
onCreate(Consumer) - Method in class cloud.opencode.base.io.file.FileWatcher
Sets handler for create events 设置创建事件处理器
onDelete(Consumer) - Method in class cloud.opencode.base.io.file.FileWatcher
Sets handler for delete events 设置删除事件处理器
onlyInFirst() - Method in record class cloud.opencode.base.io.file.FileComparator.DirectoryDiff
Returns the value of the onlyInFirst record component.
onlyInSecond() - Method in record class cloud.opencode.base.io.file.FileComparator.DirectoryDiff
Returns the value of the onlyInSecond record component.
onModify(Consumer) - Method in class cloud.opencode.base.io.file.FileWatcher
Sets handler for modify events 设置修改事件处理器
onProgress(OpenBatch.ProgressCallback) - Method in class cloud.opencode.base.io.batch.OpenBatch.ParallelBuilder
Set progress callback 设置进度回调
onProgress(Path, int, int) - Method in interface cloud.opencode.base.io.batch.OpenBatch.ProgressCallback
Called for each processed item 每个处理项调用
onProgress(BiConsumer) - Method in class cloud.opencode.base.io.file.ChunkedFileProcessor.Builder
Sets a progress callback.
OpenBatch - Class in cloud.opencode.base.io.batch
Batch and Parallel File Operations Utility Class 批量和并行文件操作工具类
OpenBatch.ParallelBuilder - Class in cloud.opencode.base.io.batch
Parallel Batch Operation Builder 并行批量操作构建器
OpenBatch.PathAction - Interface in cloud.opencode.base.io.batch
Path action interface 路径操作接口
OpenBatch.ProgressCallback - Interface in cloud.opencode.base.io.batch
Progress callback interface 进度回调接口
OpenChecksum - Class in cloud.opencode.base.io.checksum
Checksum Utility Class 校验和工具类
OpenFileLock - Class in cloud.opencode.base.io.lock
File Locking Utility Class 文件锁定工具类
OpenFileLock.FileLockHandle - Class in cloud.opencode.base.io.lock
File Lock Handle 文件锁句柄
OpenFileVisitors - Class in cloud.opencode.base.io
File Visitors Utility Class 文件访问器工具类
OpenFileVisitors.CountingVisitor - Class in cloud.opencode.base.io
Counting Visitor 计数访问器
OpenFileVisitors.SizeVisitor - Class in cloud.opencode.base.io
Size Visitor 大小访问器
OpenIO - Class in cloud.opencode.base.io
File and Directory Operations Utility Class 文件和目录操作工具类
OpenIOOperationException - Exception Class in cloud.opencode.base.io.exception
IO Operation Exception (Unchecked) IO操作异常(非受检)
OpenIOOperationException(String) - Constructor for exception class cloud.opencode.base.io.exception.OpenIOOperationException
Creates an exception with message 创建带消息的异常
OpenIOOperationException(String, String, String) - Constructor for exception class cloud.opencode.base.io.exception.OpenIOOperationException
Creates an exception with operation, path and message 创建带操作、路径和消息的异常
OpenIOOperationException(String, String, String, Throwable) - Constructor for exception class cloud.opencode.base.io.exception.OpenIOOperationException
Creates an exception with operation, path, message and cause 创建带操作、路径、消息和原因的异常
OpenIOOperationException(String, Throwable) - Constructor for exception class cloud.opencode.base.io.exception.OpenIOOperationException
Creates an exception with message and cause 创建带消息和原因的异常
OpenMimeType - Class in cloud.opencode.base.io
MIME Type Detection Utility Class MIME 类型检测工具类
OpenPath - Class in cloud.opencode.base.io
Path Utility Class 路径工具类
OpenResource - Class in cloud.opencode.base.io
Resource Loading Utility Class 资源加载工具类
OpenStream - Class in cloud.opencode.base.io
Stream Processing Utility Class 流处理工具类
OpenTempFile - Class in cloud.opencode.base.io.temp
Temp File Utility Class 临时文件工具类
operation() - Method in record class cloud.opencode.base.io.batch.BatchResult
Returns the value of the operation record component.
operation() - Method in exception class cloud.opencode.base.io.exception.OpenIOOperationException
Gets the operation type 获取操作类型

P

parallel() - Static method in class cloud.opencode.base.io.batch.OpenBatch
Create a parallel batch operation builder 创建并行批量操作构建器
parallel(boolean) - Method in class cloud.opencode.base.io.file.ChunkedFileProcessor.Builder
Enables parallel processing with virtual threads.
ParallelBuilder() - Constructor for class cloud.opencode.base.io.batch.OpenBatch.ParallelBuilder
 
parallelism(int) - Method in class cloud.opencode.base.io.batch.OpenBatch.ParallelBuilder
Set parallelism level 设置并行度
parallelism(int) - Method in class cloud.opencode.base.io.file.ChunkedFileProcessor.Builder
Sets the parallelism level for parallel processing.
path() - Method in exception class cloud.opencode.base.io.exception.OpenIOOperationException
Gets the path involved 获取涉及的路径
path() - Method in record class cloud.opencode.base.io.file.FileWatcher.FileEvent
Returns the value of the path record component.
path(Path) - Method in class cloud.opencode.base.io.file.ChunkedFileProcessor.Builder
Sets the file path.
percentage() - Method in record class cloud.opencode.base.io.progress.UploadProgress
Returns the upload percentage as a double (0.0 to 100.0).
preVisitDirectory(Path, BasicFileAttributes) - Method in class cloud.opencode.base.io.OpenFileVisitors.CountingVisitor
 
process(Path, int, Consumer) - Static method in class cloud.opencode.base.io.file.ChunkedFileProcessor
Processes a file in chunks.
process(Path, Consumer) - Static method in class cloud.opencode.base.io.file.ChunkedFileProcessor
Processes a file in chunks with the default chunk size.
process(Consumer) - Method in class cloud.opencode.base.io.file.ChunkedFileProcessor.Builder
Processes the file with the given processor.
processAndCollect(Function) - Method in class cloud.opencode.base.io.file.ChunkedFileProcessor.Builder
Processes the file and collects results.
progressInterval(long) - Method in class cloud.opencode.base.io.file.ChunkedFileProcessor.Builder
Sets the progress reporting interval.

R

read() - Method in class cloud.opencode.base.io.stream.BoundedInputStream
 
read() - Method in class cloud.opencode.base.io.stream.CountingInputStream
 
read() - Method in class cloud.opencode.base.io.stream.TeeInputStream
 
read() - Method in class cloud.opencode.base.io.temp.AutoDeleteTempFile
Reads file content as bytes 读取文件内容为字节
read(byte[], int, int) - Method in class cloud.opencode.base.io.stream.BoundedInputStream
 
read(byte[], int, int) - Method in class cloud.opencode.base.io.stream.CountingInputStream
 
read(byte[], int, int) - Method in class cloud.opencode.base.io.stream.TeeInputStream
 
readBytes() - Method in interface cloud.opencode.base.io.resource.Resource
Reads the resource as byte array 读取资源为字节数组
readBytes(String) - Static method in class cloud.opencode.base.io.OpenResource
Reads resource as byte array 读取资源为字节数组
readBytes(Path) - Static method in class cloud.opencode.base.io.OpenIO
Reads file as byte array 读取文件为字节数组
readFailed(Throwable) - Static method in exception class cloud.opencode.base.io.exception.OpenIOOperationException
Creates a read failed exception for stream 创建流读取失败异常
readFailed(Path, Throwable) - Static method in exception class cloud.opencode.base.io.exception.OpenIOOperationException
Creates a read failed exception 创建读取失败异常
readFirstLine(Path) - Static method in class cloud.opencode.base.io.OpenIO
Reads the first line of file 读取文件首行
readLines(String) - Static method in class cloud.opencode.base.io.OpenResource
Reads resource as lines with UTF-8 使用UTF-8读取资源为行列表
readLines(String, Charset) - Static method in class cloud.opencode.base.io.OpenResource
Reads resource as lines 读取资源为行列表
readLines(Path) - Static method in class cloud.opencode.base.io.OpenIO
Reads file as list of lines (UTF-8) 读取文件为行列表(UTF-8)
readLines(Path, Charset) - Static method in class cloud.opencode.base.io.OpenIO
Reads file as list of lines 读取文件为行列表
readProperties(String) - Static method in class cloud.opencode.base.io.OpenResource
Reads resource as Properties 读取资源为Properties
readString() - Method in interface cloud.opencode.base.io.resource.Resource
Reads the resource as string with UTF-8 使用UTF-8读取资源为字符串
readString() - Method in class cloud.opencode.base.io.temp.AutoDeleteTempFile
Reads file content as string (UTF-8) 读取文件内容为字符串(UTF-8)
readString(String) - Static method in class cloud.opencode.base.io.OpenResource
Reads resource as UTF-8 string 读取资源为UTF-8字符串
readString(String, Charset) - Static method in class cloud.opencode.base.io.OpenResource
Reads resource as string 读取资源为字符串
readString(Charset) - Method in interface cloud.opencode.base.io.resource.Resource
Reads the resource as string with specified charset 使用指定字符集读取资源为字符串
readString(Charset) - Method in class cloud.opencode.base.io.temp.AutoDeleteTempFile
Reads file content as string with charset 使用指定字符集读取文件内容为字符串
readString(Path) - Static method in class cloud.opencode.base.io.OpenIO
Reads file as UTF-8 string 读取文件为UTF-8字符串
readString(Path, Charset) - Static method in class cloud.opencode.base.io.OpenIO
Reads file as string 读取文件为字符串
recordFailure(Path, Throwable) - Method in class cloud.opencode.base.io.batch.BatchResult.Builder
Record failure atomically 原子记录失败
recursive() - Method in class cloud.opencode.base.io.file.FileCopier
Enables recursive copy for directories 启用目录递归复制
relativize(Path, Path) - Static method in class cloud.opencode.base.io.OpenPath
Gets relative path 获取相对路径
removed() - Method in record class cloud.opencode.base.io.file.FileComparator.LineDiff
Returns the value of the removed record component.
replaceExisting() - Method in class cloud.opencode.base.io.file.FileCopier
Enables replace existing 启用替换现有文件
reset() - Method in class cloud.opencode.base.io.stream.BoundedInputStream
 
reset() - Method in class cloud.opencode.base.io.stream.CountingInputStream
 
reset() - Method in class cloud.opencode.base.io.stream.FastByteArrayOutputStream
Resets the stream 重置流
resetCount() - Method in class cloud.opencode.base.io.stream.CountingInputStream
Resets the counter and returns the previous count 重置计数器并返回之前的计数
resolve(Path, String) - Static method in class cloud.opencode.base.io.OpenPath
Resolves path 解析路径
Resource - Interface in cloud.opencode.base.io.resource
Resource Abstraction Interface 资源抽象接口
ResourceLoader - Interface in cloud.opencode.base.io.resource
Resource Loader Interface 资源加载器接口
resourceNotFound(String) - Static method in exception class cloud.opencode.base.io.exception.OpenIOOperationException
Creates a resource not found exception 创建资源未找到异常

S

setLastModifiedTime(Path, Instant) - Static method in class cloud.opencode.base.io.OpenIO
Sets last modified time 设置最后修改时间
sha1(byte[]) - Static method in class cloud.opencode.base.io.checksum.OpenChecksum
Calculates SHA-1 hash for byte array 计算字节数组的SHA-1哈希
sha1(InputStream) - Static method in class cloud.opencode.base.io.checksum.OpenChecksum
Calculates SHA-1 hash for an input stream 计算输入流的SHA-1哈希
sha1(Path) - Static method in class cloud.opencode.base.io.checksum.OpenChecksum
Calculates SHA-1 hash for a file 计算文件的SHA-1哈希
sha256(byte[]) - Static method in class cloud.opencode.base.io.checksum.OpenChecksum
Calculates SHA-256 hash for byte array 计算字节数组的SHA-256哈希
sha256(InputStream) - Static method in class cloud.opencode.base.io.checksum.OpenChecksum
Calculates SHA-256 hash for an input stream 计算输入流的SHA-256哈希
sha256(Path) - Static method in class cloud.opencode.base.io.checksum.OpenChecksum
Calculates SHA-256 hash for a file 计算文件的SHA-256哈希
sha512(byte[]) - Static method in class cloud.opencode.base.io.checksum.OpenChecksum
Calculates SHA-512 hash for byte array 计算字节数组的SHA-512哈希
sha512(InputStream) - Static method in class cloud.opencode.base.io.checksum.OpenChecksum
Calculates SHA-512 hash for an input stream 计算输入流的SHA-512哈希
sha512(Path) - Static method in class cloud.opencode.base.io.checksum.OpenChecksum
Calculates SHA-512 hash for a file 计算文件的SHA-512哈希
size() - Method in record class cloud.opencode.base.io.file.ChunkedFileProcessor.Chunk
Returns the value of the size record component.
size() - Method in class cloud.opencode.base.io.file.FileReader
Gets file size 获取文件大小
size() - Method in class cloud.opencode.base.io.stream.FastByteArrayOutputStream
Gets the current size 获取当前大小
size() - Method in class cloud.opencode.base.io.temp.AutoDeleteTempFile
Gets file size 获取文件大小
size(Path) - Static method in class cloud.opencode.base.io.OpenIO
Gets file size 获取文件大小
sizeLimitExceeded(long, long) - Static method in exception class cloud.opencode.base.io.exception.OpenIOOperationException
Creates a size limit exceeded exception 创建大小超限异常
sizeVisitor() - Static method in class cloud.opencode.base.io.OpenFileVisitors
Creates a size calculating visitor 创建计算大小的访问器
SizeVisitor() - Constructor for class cloud.opencode.base.io.OpenFileVisitors.SizeVisitor
 
skip(long) - Method in class cloud.opencode.base.io.stream.BoundedInputStream
 
skip(long) - Method in class cloud.opencode.base.io.stream.CountingInputStream
 
skip(InputStream, long) - Static method in class cloud.opencode.base.io.OpenStream
Skips bytes from input stream 从输入流跳过字节
skipped() - Method in class cloud.opencode.base.io.batch.BatchResult.Builder
Record a skip 记录跳过
skippedCount() - Method in record class cloud.opencode.base.io.batch.BatchResult
Returns the value of the skippedCount record component.
start() - Method in class cloud.opencode.base.io.file.FileWatcher
Starts watching 开始监听
startOffset(long) - Method in class cloud.opencode.base.io.file.ChunkedFileProcessor.Builder
Sets the starting offset for reading.
startTime() - Method in record class cloud.opencode.base.io.batch.BatchResult
Returns the value of the startTime record component.
stop() - Method in class cloud.opencode.base.io.file.FileWatcher
Stops watching and releases OS file watch handles (inotify/kqueue).
stopOnError(boolean) - Method in class cloud.opencode.base.io.batch.OpenBatch.ParallelBuilder
Stop on first error 遇到第一个错误时停止
stream() - Method in class cloud.opencode.base.io.file.ChunkedFileProcessor.Builder
Creates a stream of chunks.
stream() - Method in class cloud.opencode.base.io.file.MoreFiles.FileTreeTraversal
Returns stream of matching paths.
streamChunks(Path, int) - Static method in class cloud.opencode.base.io.file.ChunkedFileProcessor
Creates a stream of chunks from a file.
streamOperationFailed(String, Throwable) - Static method in exception class cloud.opencode.base.io.exception.OpenIOOperationException
Creates a stream operation failed exception 创建流操作失败异常
success() - Method in class cloud.opencode.base.io.batch.BatchResult.Builder
Record a success 记录成功
successCount() - Method in record class cloud.opencode.base.io.batch.BatchResult
Returns the value of the successCount record component.
successRate() - Method in record class cloud.opencode.base.io.batch.BatchResult
Get success rate 获取成功率
summary() - Method in record class cloud.opencode.base.io.batch.BatchResult
Get summary string 获取摘要字符串

T

TeeInputStream - Class in cloud.opencode.base.io.stream
Tee Input Stream 分流输入流
TeeInputStream(InputStream, OutputStream) - Constructor for class cloud.opencode.base.io.stream.TeeInputStream
Creates a tee input stream 创建分流输入流
TeeInputStream(InputStream, OutputStream, boolean) - Constructor for class cloud.opencode.base.io.stream.TeeInputStream
Creates a tee input stream with close option 创建带关闭选项的分流输入流
TEXT_HTML - Static variable in class cloud.opencode.base.io.OpenMimeType
Common HTML MIME type 常见 HTML MIME 类型
TEXT_PLAIN - Static variable in class cloud.opencode.base.io.OpenMimeType
Common text MIME type 常见文本 MIME 类型
throughputBytesPerSec() - Method in record class cloud.opencode.base.io.progress.UploadProgress
Returns the current upload throughput in bytes per second.
to(String) - Method in class cloud.opencode.base.io.file.FileCopier
Sets the target path string 设置目标路径字符串
to(Path) - Method in class cloud.opencode.base.io.file.FileCopier
Sets the target path 设置目标路径
toAbsolute(Path) - Static method in class cloud.opencode.base.io.OpenPath
Converts to absolute path 转换为绝对路径
toByteArray() - Method in class cloud.opencode.base.io.stream.FastByteArrayOutputStream
Gets the byte array (may share internal buffer) 获取字节数组(可能共享内部缓冲区)
toByteArray(InputStream) - Static method in class cloud.opencode.base.io.OpenStream
Reads input stream as byte array 读取输入流为字节数组
toByteArray(InputStream, int) - Static method in class cloud.opencode.base.io.OpenStream
Reads input stream as byte array with size limit 读取输入流为字节数组(带大小限制)
toByteArrayCopy() - Method in class cloud.opencode.base.io.stream.FastByteArrayOutputStream
Gets a copy of the byte array 获取字节数组副本
toByteBuffer() - Method in record class cloud.opencode.base.io.file.ChunkedFileProcessor.Chunk
Gets a ByteBuffer view of the data.
toFile() - Method in class cloud.opencode.base.io.temp.AutoDeleteTempFile
Gets the file as File object 获取File对象
toInputStream() - Method in class cloud.opencode.base.io.stream.FastByteArrayOutputStream
Converts to input stream 转换为输入流
toInputStream(byte[]) - Static method in class cloud.opencode.base.io.OpenStream
Converts byte array to input stream 将字节数组转换为输入流
toInputStream(String, Charset) - Static method in class cloud.opencode.base.io.OpenStream
Converts string to input stream 将字符串转换为输入流
toList() - Method in class cloud.opencode.base.io.file.MoreFiles.FileTreeTraversal
Collects all matching paths to a list.
toReader(InputStream, Charset) - Static method in class cloud.opencode.base.io.OpenStream
Converts input stream to reader 将输入流转换为Reader
toRealPath(Path) - Static method in class cloud.opencode.base.io.OpenPath
Gets real path (resolves symbolic links) 获取真实路径(解析符号链接)
toString() - Method in record class cloud.opencode.base.io.batch.BatchResult
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.io.checksum.Checksum
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.io.file.ChunkedFileProcessor.Chunk
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.io.file.FileComparator.DirectoryDiff
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.io.file.FileComparator.LineChange
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.io.file.FileComparator.LineDiff
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.io.file.FileComparator.LineEntry
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.io.file.FileWatcher.FileEvent
Returns a string representation of this record class.
toString() - Method in class cloud.opencode.base.io.lock.OpenFileLock.FileLockHandle
 
toString() - Method in class cloud.opencode.base.io.progress.DownloadProgress
 
toString() - Method in record class cloud.opencode.base.io.progress.UploadProgress
Returns a string representation of this record class.
toString() - Method in class cloud.opencode.base.io.resource.ClassPathResource
 
toString() - Method in class cloud.opencode.base.io.resource.DefaultResourceLoader
 
toString() - Method in class cloud.opencode.base.io.resource.FileSystemResource
 
toString() - Method in class cloud.opencode.base.io.resource.UrlResource
 
toString() - Method in class cloud.opencode.base.io.stream.FastByteArrayOutputStream
 
toString() - Method in class cloud.opencode.base.io.temp.AutoDeleteTempFile
 
toString(InputStream) - Static method in class cloud.opencode.base.io.OpenStream
Reads input stream as UTF-8 string 读取输入流为UTF-8字符串
toString(InputStream, Charset) - Static method in class cloud.opencode.base.io.OpenStream
Reads input stream as string 读取输入流为字符串
toString(Reader) - Static method in class cloud.opencode.base.io.OpenStream
Reads reader as string 读取Reader为字符串
toString(String) - Method in class cloud.opencode.base.io.stream.FastByteArrayOutputStream
Converts to string with charset 使用字符集转换为字符串
totalBytes() - Method in record class cloud.opencode.base.io.progress.UploadProgress
Returns the value of the totalBytes record component.
totalCount() - Method in record class cloud.opencode.base.io.batch.BatchResult
Returns the value of the totalCount record component.
touch(Path) - Static method in class cloud.opencode.base.io.file.MoreFiles
Creates an empty file or updates its last modified time.
toUnifiedDiff() - Method in record class cloud.opencode.base.io.file.FileComparator.LineDiff
Returns a unified diff format string.
toWriter(OutputStream, Charset) - Static method in class cloud.opencode.base.io.OpenStream
Converts output stream to writer 将输出流转换为Writer
tryLock(Path) - Static method in class cloud.opencode.base.io.lock.OpenFileLock
Try to acquire exclusive lock without blocking 尝试获取独占锁(不阻塞)
tryLock(Path, boolean) - Static method in class cloud.opencode.base.io.lock.OpenFileLock
Try to acquire lock without blocking 尝试获取锁(不阻塞)
tryLock(Path, Duration) - Static method in class cloud.opencode.base.io.lock.OpenFileLock
Try to acquire lock with timeout 尝试在超时时间内获取锁
tryLock(Path, Duration, boolean) - Static method in class cloud.opencode.base.io.lock.OpenFileLock
Try to acquire lock with timeout 尝试在超时时间内获取锁
tryLockFile(Path, Duration) - Static method in class cloud.opencode.base.io.lock.OpenFileLock
Try to create a lock file with timeout 尝试在超时时间内创建锁文件
tryWithLock(Path, Duration, Supplier) - Static method in class cloud.opencode.base.io.lock.OpenFileLock
Try to execute action with lock, with timeout 尝试在超时时间内持有锁执行操作

U

uniqueFile(Path, String, String) - Static method in class cloud.opencode.base.io.OpenPath
Generates a unique filename in directory 在目录中生成唯一文件名
unknown(long, long) - Static method in class cloud.opencode.base.io.progress.DownloadProgress
Creates an unknown progress.
unmarshal(byte[]) - Method in interface cloud.opencode.base.io.serialization.Marshaller
Deserializes a message from bytes.
UploadProgress - Record Class in cloud.opencode.base.io.progress
Upload Progress - Snapshot of an upload operation's current progress 上传进度 - 上传操作当前进度的快照
UploadProgress(String, long, long, long) - Constructor for record class cloud.opencode.base.io.progress.UploadProgress
Creates an instance of a UploadProgress record class.
urlResource(String) - Static method in class cloud.opencode.base.io.OpenResource
Creates a URL resource from string 从字符串创建URL资源
urlResource(URL) - Static method in class cloud.opencode.base.io.OpenResource
Creates a URL resource 创建URL资源
UrlResource - Class in cloud.opencode.base.io.resource
URL Resource Implementation URL资源实现
UrlResource(String) - Constructor for class cloud.opencode.base.io.resource.UrlResource
Creates a URL resource from string 从字符串创建URL资源
UrlResource(URI) - Constructor for class cloud.opencode.base.io.resource.UrlResource
Creates a URL resource from URI 从URI创建URL资源
UrlResource(URL) - Constructor for class cloud.opencode.base.io.resource.UrlResource
Creates a URL resource from URL 从URL创建URL资源
useMemoryMapping(boolean) - Method in class cloud.opencode.base.io.file.ChunkedFileProcessor.Builder
Enables memory-mapped file processing.

V

verify(byte[], String, String) - Static method in class cloud.opencode.base.io.checksum.OpenChecksum
Verifies byte array checksum 验证字节数组校验和
verify(InputStream, String, String) - Static method in class cloud.opencode.base.io.checksum.OpenChecksum
Verifies input stream checksum 验证输入流校验和
verify(Path, String, String) - Static method in class cloud.opencode.base.io.checksum.OpenChecksum
Verifies file checksum 验证文件校验和
visitFile(Path, BasicFileAttributes) - Method in class cloud.opencode.base.io.OpenFileVisitors.CountingVisitor
 
visitFile(Path, BasicFileAttributes) - Method in class cloud.opencode.base.io.OpenFileVisitors.SizeVisitor
 

W

walk(Path) - Static method in class cloud.opencode.base.io.OpenIO
Walks directory tree with unlimited depth 遍历目录树(无深度限制)
walk(Path, int) - Static method in class cloud.opencode.base.io.OpenIO
Walks directory tree 遍历目录树
walkFileTree(Path, Consumer) - Static method in class cloud.opencode.base.io.file.MoreFiles
Walks the file tree and applies the action to each file.
watch(String) - Static method in class cloud.opencode.base.io.file.FileWatcher
Creates a file watcher for the given path string 为给定路径字符串创建文件监听器
watch(Path) - Static method in class cloud.opencode.base.io.file.FileWatcher
Creates a file watcher for the given path 为给定路径创建文件监听器
watchFailed(Path, Throwable) - Static method in exception class cloud.opencode.base.io.exception.OpenIOOperationException
Creates a watch failed exception 创建监听失败异常
withLock(Path, Runnable) - Static method in class cloud.opencode.base.io.lock.OpenFileLock
Execute action with exclusive lock (no return value) 持有独占锁执行操作(无返回值)
withLock(Path, Supplier) - Static method in class cloud.opencode.base.io.lock.OpenFileLock
Execute action with exclusive lock 持有独占锁执行操作
withSharedLock(Path, Supplier) - Static method in class cloud.opencode.base.io.lock.OpenFileLock
Execute action with shared lock 持有共享锁执行操作
write(byte[]) - Method in class cloud.opencode.base.io.file.FileWriter
Writes byte array to file 写入字节数组到文件
write(byte[]) - Method in class cloud.opencode.base.io.temp.AutoDeleteTempFile
Writes byte content to the file 写入字节内容到文件
write(byte[], int, int) - Method in class cloud.opencode.base.io.stream.FastByteArrayOutputStream
 
write(byte[], OutputStream) - Static method in class cloud.opencode.base.io.OpenStream
Writes byte array to output stream 写入字节数组到输出流
write(int) - Method in class cloud.opencode.base.io.stream.FastByteArrayOutputStream
 
write(CharSequence) - Method in class cloud.opencode.base.io.file.FileWriter
Writes string to file 写入字符串到文件
write(String) - Method in class cloud.opencode.base.io.temp.AutoDeleteTempFile
Writes string content to the file (UTF-8) 写入字符串内容到文件(UTF-8)
write(String, OutputStream, Charset) - Static method in class cloud.opencode.base.io.OpenStream
Writes string to output stream 写入字符串到输出流
write(String, Writer) - Static method in class cloud.opencode.base.io.OpenStream
Writes string to writer 写入字符串到Writer
write(String, Charset) - Method in class cloud.opencode.base.io.temp.AutoDeleteTempFile
Writes string content to the file with charset 使用指定字符集写入字符串内容到文件
writeAtomically(Path, byte[]) - Static method in class cloud.opencode.base.io.file.MoreFiles
Writes bytes atomically to a file.
writeAtomically(Path, InputStream) - Static method in class cloud.opencode.base.io.file.MoreFiles
Writes from an InputStream atomically to a file.
writeAtomically(Path, Iterable) - Static method in class cloud.opencode.base.io.file.MoreFiles
Writes lines atomically to a file (UTF-8).
writeAtomically(Path, Iterable, Charset) - Static method in class cloud.opencode.base.io.file.MoreFiles
Writes lines atomically to a file.
writeAtomically(Path, String) - Static method in class cloud.opencode.base.io.file.MoreFiles
Writes content atomically to a file (UTF-8).
writeAtomically(Path, String, Charset) - Static method in class cloud.opencode.base.io.file.MoreFiles
Writes content atomically to a file.
writeBytes(Path, byte[], OpenOption...) - Static method in class cloud.opencode.base.io.OpenIO
Writes byte array to file 写入字节数组到文件
writeFailed(Throwable) - Static method in exception class cloud.opencode.base.io.exception.OpenIOOperationException
Creates a write failed exception for stream 创建流写入失败异常
writeFailed(Path, Throwable) - Static method in exception class cloud.opencode.base.io.exception.OpenIOOperationException
Creates a write failed exception 创建写入失败异常
writeInChunks(Path, byte[], int, BiConsumer) - Static method in class cloud.opencode.base.io.file.ChunkedFileProcessor
Writes data to a file in chunks.
writeLines(Iterable) - Method in class cloud.opencode.base.io.file.FileWriter
Writes lines to file 写入行到文件
writeLines(Path, Iterable, Charset, OpenOption...) - Static method in class cloud.opencode.base.io.OpenIO
Writes lines to file 写入行到文件
writeLines(Path, Iterable, OpenOption...) - Static method in class cloud.opencode.base.io.OpenIO
Writes lines to file (UTF-8) 写入行到文件(UTF-8)
writeString(Path, CharSequence, Charset, OpenOption...) - Static method in class cloud.opencode.base.io.OpenIO
Writes string to file 写入字符串到文件
writeString(Path, CharSequence, OpenOption...) - Static method in class cloud.opencode.base.io.OpenIO
Writes string to file (UTF-8) 写入字符串到文件(UTF-8)
writeTo(OutputStream) - Method in class cloud.opencode.base.io.stream.FastByteArrayOutputStream
Writes content to another output stream 将内容写入另一个输出流
A B C D E F G H I J K L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form