I have a constructor looks like this:
MyClassName(File f) throws Exception;
and a txt file looks like this:
. . . . .
. . . . .
. x . . .
. x x . .
. . . . .
. . . . .
When open the file, how do I convert it to a String?
Like this:
". . . . .\n
. . . . .\n
. x . . .\n
. x x . .\n
. . . . .\n
. . . . .\n"