What is the most elegant way to put each line of text (from the text file) into LinkedList (as String object) or some other collection, using Commons or Guava libraries.
Using Apache Commons IO, you can use FileUtils#readLines method. It is as simple as:
List lines = FileUtils.readLines(new File("...")); for (String line : lines) { System.out.println(line); }