I have the following task that have to be implemented in Java.
I have a String that represent the path of a txt file, something like this:
String fileFatturePa = "C:\\Users\\Andrea\\Desktop\\D150316.T1642\\myFile.txt";
This textual file contains some text (that represent XML but this is not important because I do not have to operate on it with something like XPath but I have to do simple substring operation).
So I need to read this textual file (starting from its path) and then I have to do some textual operation.
This file could be very big.
What is the best way to read it stargint from its path?