I'm using Java to try and extract characters between specific indices from a text file. It is a big text file and I'm not allowed to load it to the internal memory. I'm therefore limited to only reading parts of the file and hence the parts with these specific indices. How to do this?
I might also be able to utilize the linux terminal from within Java and then use something like sed or awk but in that case I will have to learn how to deal with these programs as well.
Either way it has to be quick and the whole execution of the program is not allowed to take more than one second.
Grateful for any suggestions!
