Uses of Record Class
cloud.opencode.base.io.file.ChunkedFileProcessor.Chunk
Packages that use ChunkedFileProcessor.Chunk
-
Uses of ChunkedFileProcessor.Chunk in cloud.opencode.base.io.file
Methods in cloud.opencode.base.io.file that return types with arguments of type ChunkedFileProcessor.ChunkModifier and TypeMethodDescriptionChunkedFileProcessor.Builder.stream()Creates a stream of chunks.static Stream<ChunkedFileProcessor.Chunk> ChunkedFileProcessor.streamChunks(Path path, int chunkSize) Creates a stream of chunks from a file.Method parameters in cloud.opencode.base.io.file with type arguments of type ChunkedFileProcessor.ChunkModifier and TypeMethodDescriptionvoidChunkedFileProcessor.Builder.process(Consumer<ChunkedFileProcessor.Chunk> processor) Processes the file with the given processor.static voidChunkedFileProcessor.process(Path path, int chunkSize, Consumer<ChunkedFileProcessor.Chunk> processor) Processes a file in chunks.static voidChunkedFileProcessor.process(Path path, Consumer<ChunkedFileProcessor.Chunk> processor) Processes a file in chunks with the default chunk size.<T> List<T> ChunkedFileProcessor.Builder.processAndCollect(Function<ChunkedFileProcessor.Chunk, T> processor) Processes the file and collects results.