Is there a way to read chunk data by other delimiter(s) for array of chars [,|-_ etc] or split chunk not in middle of word,
How to skip specific location for text file (for example skip to offset char#10020353)
Example file:
text text ; text ... (very long line 100000s chars)
text text ; text ... (very long line 100000s chars)
text text ; text ... (very long line 100000s chars)
text text ; text ... (very long line 100000s chars)
(very long file 100000s lines)
I have function
try (Stream<String> stream = Files.lines(Paths.get(fileName))) {
stream.forEach(com.alefbt::DO_SOME_THING);
} catch (IOException e) {
e.printStackTrace();
}