Is there any method so that I can split a text file in java without reading it?
I want to process a large text file in GB, so I want to split the file into small parts and apply a stream for each file and combine the result for it.
Since I will read it for small parts, then splitting the file by reading it will not make any sense, since I will have to read the same file twice, and this will degrade my performance.
source
share